Aspose::Cells::Worksheet::AutoFitColumn method

Worksheet::AutoFitColumn(int32_t, int32_t, int32_t) method

Autofits the column width.

void Aspose::Cells::Worksheet::AutoFitColumn(int32_t columnIndex, int32_t firstRow, int32_t lastRow)
ParameterTypeDescription
columnIndexint32_tColumn index.
firstRowint32_tFirst row index.
lastRowint32_tLast row index.

Remarks

This method autofits a row based on content in a range of cells within the row.

See Also

Worksheet::AutoFitColumn(int32_t) method

Autofits the column width.

void Aspose::Cells::Worksheet::AutoFitColumn(int32_t columnIndex)
ParameterTypeDescription
columnIndexint32_tColumn index.

Remarks

AutoFitColumn is an imprecise function.

See Also