ExcelWorksheetAutofitColumn Method

Changes the width of the specified column to achieve the best fit for the cells content.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public void AutofitColumn(
	int columnIndex
)

Parameters

columnIndex  Int32
The one based index of the column to autofit.

See Also