Worksheet.AutoFitColumns

AutoFitColumns()

Autofits all columns in this worksheet.

public void AutoFitColumns()

See Also


AutoFitColumns(AutoFitterOptions)

Autofits all columns in this worksheet.

public void AutoFitColumns(AutoFitterOptions options)
ParameterTypeDescription
optionsAutoFitterOptionsThe auto fitting options

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, AutoFitterOptions)

Autofits the columns width.

public void AutoFitColumns(int firstColumn, int lastColumn, AutoFitterOptions options)
ParameterTypeDescription
firstColumnInt32First column index.
lastColumnInt32Last column index.
optionsAutoFitterOptionsThe auto fitting options

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


AutoFitColumns(int, int, int, int, AutoFitterOptions)

Autofits the columns width.

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

Remarks

AutoFitColumn is an imprecise function.

See Also