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: 11.0.0
public void AutofitColumn(
int columnIndex
)
Public Sub AutofitColumn (
columnIndex As Integer
)
public:
void AutofitColumn(
int columnIndex
)
member AutofitColumn :
columnIndex : int -> unit
Parameters
- columnIndex Int32
- The one based index of the column to autofit.