ExcelWorksheetAutofitColumn Method
Changes the width of the specified column to achieve the best fit for the cells content.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 14.0.0
public void AutofitColumn(
int columnIndex
)
Parameters
- columnIndex Int32
- The one based index of the column to autofit.