WorksheetAutoFitColumns Method (Int32, Int32, Int32, Int32, AutoFitterOptions) |
Autofits the columns width.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic void AutoFitColumns(
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
AutoFitterOptions options
)
Public Sub AutoFitColumns (
firstRow As Integer,
firstColumn As Integer,
lastRow As Integer,
lastColumn As Integer,
options As AutoFitterOptions
)
public:
void AutoFitColumns(
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
AutoFitterOptions^ options
)
member AutoFitColumns :
firstRow : int *
firstColumn : int *
lastRow : int *
lastColumn : int *
options : AutoFitterOptions -> unit
Parameters
- firstRow
- Type: SystemInt32
First row index. - firstColumn
- Type: SystemInt32
First column index. - lastRow
- Type: SystemInt32
Last row index. - lastColumn
- Type: SystemInt32
Last column index. - options
- Type: Aspose.CellsAutoFitterOptions
The auto fitting options
RemarksAutoFitColumn is an imprecise function.
See Also