Aspose::Cells::Worksheet::AutoFitColumns method

Worksheet::AutoFitColumns() method

Autofits all columns in this worksheet.

void Aspose::Cells::Worksheet::AutoFitColumns()

See Also

Worksheet::AutoFitColumns(const AutoFitterOptions&) method

Autofits all columns in this worksheet.

void Aspose::Cells::Worksheet::AutoFitColumns(const AutoFitterOptions &options)
ParameterTypeDescription
optionsconst AutoFitterOptions&The auto fitting options

See Also

Worksheet::AutoFitColumns(int32_t, int32_t) method

Autofits the columns width.

void Aspose::Cells::Worksheet::AutoFitColumns(int32_t firstColumn, int32_t lastColumn)
ParameterTypeDescription
firstColumnint32_tFirst column index.
lastColumnint32_tLast column index.

Remarks

AutoFitColumn is an imprecise function.

See Also

Worksheet::AutoFitColumns(int32_t, int32_t, const AutoFitterOptions&) method

Autofits the columns width.

void Aspose::Cells::Worksheet::AutoFitColumns(int32_t firstColumn, int32_t lastColumn, const AutoFitterOptions &options)
ParameterTypeDescription
firstColumnint32_tFirst column index.
lastColumnint32_tLast column index.
optionsconst AutoFitterOptions&The auto fitting options

Remarks

AutoFitColumn is an imprecise function.

See Also

Worksheet::AutoFitColumns(int32_t, int32_t, int32_t, int32_t) method

Autofits the columns width.

void Aspose::Cells::Worksheet::AutoFitColumns(int32_t firstRow, int32_t firstColumn, int32_t lastRow, int32_t lastColumn)
ParameterTypeDescription
firstRowint32_tFirst row index.
firstColumnint32_tFirst column index.
lastRowint32_tLast row index.
lastColumnint32_tLast column index.

Remarks

AutoFitColumn is an imprecise function.

See Also

Worksheet::AutoFitColumns(int32_t, int32_t, int32_t, int32_t, const AutoFitterOptions&) method

Autofits the columns width.

void Aspose::Cells::Worksheet::AutoFitColumns(int32_t firstRow, int32_t firstColumn, int32_t lastRow, int32_t lastColumn, const AutoFitterOptions &options)
ParameterTypeDescription
firstRowint32_tFirst row index.
firstColumnint32_tFirst column index.
lastRowint32_tLast row index.
lastColumnint32_tLast column index.
optionsconst AutoFitterOptions&The auto fitting options

Remarks

AutoFitColumn is an imprecise function.

See Also