Aspose::Cells::Worksheet::AutoFitRow method

Worksheet::AutoFitRow(int32_t, int32_t, int32_t) method

Autofits the row height.

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

Remarks

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

See Also

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

Autofits the row height.

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

Remarks

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

See Also

Worksheet::AutoFitRow(int32_t, int32_t, int32_t, int32_t) method

Autofits row height in a rectangle range.

void Aspose::Cells::Worksheet::AutoFitRow(int32_t startRow, int32_t endRow, int32_t startColumn, int32_t endColumn)
ParameterTypeDescription
startRowint32_tStart row index.
endRowint32_tEnd row index.
startColumnint32_tStart column index.
endColumnint32_tEnd column index.

See Also

Worksheet::AutoFitRow(int32_t) method

Autofits the row height.

void Aspose::Cells::Worksheet::AutoFitRow(int32_t rowIndex)
ParameterTypeDescription
rowIndexint32_tRow index.

Remarks

AutoFitRow is an imprecise function.

See Also