WorksheetAutoFitColumns Method (Int32, Int32)
Autofits the columns width.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public void AutoFitColumns(
	int firstColumn,
	int lastColumn
)

Parameters

firstColumn
Type: SystemInt32
First column index.
lastColumn
Type: SystemInt32
Last column index.
Remarks
AutoFitColumn is an imprecise function.
See Also