Automatically fits column width to the minimum size required for all data in the column to be visible. Advanced Autofit methods use methods from System.Drawing to determine the real data width.
Automatically fits column width by checking all the cells in the column.
public void AutoFitAdvanced(float);
Automatically fits column width by checking only the cells in the column that are specified by row range.
public void AutoFitAdvanced(float,ExcelRow,ExcelRow);
ExcelColumn Class | GemBox.Spreadsheet Namespace