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
)
Public Sub AutoFitRow (
rowIndex As Integer,
firstColumn As Integer,
lastColumn As Integer,
bRaiseEvents As Boolean,
options As AutoFitterOptions
)
public:
void AutoFitRow(
int rowIndex,
int firstColumn,
int lastColumn,
bool bRaiseEvents,
AutoFitterOptions^ options
)
member AutoFitRow :
rowIndex : int *
firstColumn : int *
lastColumn : int *
bRaiseEvents : bool *
options : AutoFitterOptions -> unit
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