XlsWorksheet
AutoFitColumn Method (Int32, Int32, Int32)
|
Autofit the column width.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void AutoFitColumn(
int columnIndex,
int firstRow,
int lastRow
)
Public Sub AutoFitColumn (
columnIndex As Integer,
firstRow As Integer,
lastRow As Integer
)
public:
void AutoFitColumn(
int columnIndex,
int firstRow,
int lastRow
)
member AutoFitColumn :
columnIndex : int *
firstRow : int *
lastRow : int -> unit
Parameters
-
columnIndex
-
Type:
System
Int32
Column index.
-
firstRow
-
Type:
System
Int32
One-based index of the first row to be used for autofit operation.
-
lastRow
-
Type:
System
Int32
One-based index of the last row to be used for autofit operation.
See Also