Click or drag to resize

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: 9.0.0
Syntax
public void AutofitColumn(
	int columnIndex
)

Parameters

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