ExcelWorksheetAutofitColumn Method |
Changes the width of the specified column to achieve the best fit for the cells content.
Namespace:
ExpertXls.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public void AutofitColumn(
int columnIndex
)
Public Sub AutofitColumn (
columnIndex As Integer
)
Parameters
- columnIndex
- Type: SystemInt32
The one based index of the column to autofit.
See Also