internal TAutofitInfo() { AutofitType = TAutofitType.None; GlobalAdjustment = 1; KeepAutofit = true; MergedMode = TAutofitMerged.OnLastCell; }
internal void RecalcRowHeights(ExcelFile Workbook, bool Forced, bool KeepAutoFit, float Adjustment, int AdjustmentFixed, int MinHeight, int MaxHeight, TAutofitMerged AutofitMerged) { int aCount = Sheets.Count; for (int i = 0; i < aCount; i++) { Sheets[i].Cells.CellList.RecalcRowHeights(Workbook, 0, Sheets[i].Cells.Count - 1, Forced, KeepAutoFit, false, Adjustment, AdjustmentFixed, MinHeight, MaxHeight, AutofitMerged); Sheets[i].RestoreObjectCoords(); } }