Click or drag to resize

XlsWorksheet AutoFitRow Method (Int32, Int32, Int32, Boolean, AutoFitterOptions)

Autofit the row height.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void AutoFitRow(
	int rowIndex,
	int firstColumn,
	int lastColumn,
	bool bRaiseEvents,
	AutoFitterOptions options
)

Parameters

rowIndex
Type: System Int32
Row index
firstColumn
Type: System Int32
One-based index of the first column to be used for autofit operation.
lastColumn
Type: System Int32
One-based index of the last column to be used for autofit operation.
bRaiseEvents
Type: System Boolean
If true then raise events.
options
Type: Spire.Xls.Core.Spreadsheet.AutoFilter AutoFitterOptions
auto fit options
See Also