WorksheetAutoFitRow Method (Int32, Int32, Int32, AutoFitterOptions)
Autofits the row height.

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

Parameters

rowIndex
Type: SystemInt32
Row index.
firstColumn
Type: SystemInt32
First column index.
lastColumn
Type: SystemInt32
Last column index.
options
Type: Aspose.CellsAutoFitterOptions
The auto fitter options
Remarks
This method autofits a row based on content in a range of cells within the row.
See Also