Пример #1
0
 internal TAutofitInfo()
 {
     AutofitType      = TAutofitType.None;
     GlobalAdjustment = 1;
     KeepAutofit      = true;
     MergedMode       = TAutofitMerged.OnLastCell;
 }
Пример #2
0
        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();
            }
        }