Worksheet.AutoFitColumns

AutoFitColumns()

Autofits all columns in this worksheet.

public void AutoFitColumns()

See Also


AutoFitColumns(int, int)

Autofits the columns width.

public void AutoFitColumns(int firstColumn, int lastColumn)
ParameterTypeDescription
firstColumnInt32First column index.
lastColumnInt32Last column index.

Remarks

AutoFitColumn is an imprecise function.

See Also


AutoFitColumns(int, int, int, int)

Autofits the columns width.

public void AutoFitColumns(int firstRow, int firstColumn, int lastRow, int lastColumn)
ParameterTypeDescription
firstRowInt32First row index.
firstColumnInt32First column index.
lastRowInt32Last row index.
lastColumnInt32Last column index.

Remarks

AutoFitColumn is an imprecise function.

See Also