WorksheetAutoFitColumns Method (Int32, Int32, AutoFitterOptions)

Autofits the columns width.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.2.0.0 (20.2)
Syntax
public void AutoFitColumns(
	int firstColumn,
	int lastColumn,
	AutoFitterOptions options
)

Parameters

firstColumn
Type: SystemInt32
First column index.
lastColumn
Type: SystemInt32
Last column index.
options
Type: Aspose.CellsAutoFitterOptions
The auto fitting options
Remarks
AutoFitColumn is an imprecise function.
See Also