Worksheet.AutoFitRows

AutoFitRows()

Autofits all rows in this worksheet.

public void AutoFitRows()

See Also


AutoFitRows(bool)

Autofits all rows in this worksheet.

public void AutoFitRows(bool onlyAuto)
ParameterTypeDescription
onlyAutoBooleanTrue,only autofits the row height when row height is not customed.

See Also


AutoFitRows(AutoFitterOptions)

Autofits all rows in this worksheet.

public void AutoFitRows(AutoFitterOptions options)
ParameterTypeDescription
optionsAutoFitterOptionsThe auto fitter options

See Also


AutoFitRows(int, int)

Autofits row height in a range.

public void AutoFitRows(int startRow, int endRow)
ParameterTypeDescription
startRowInt32Start row index.
endRowInt32End row index.

See Also


AutoFitRows(int, int, AutoFitterOptions)

Autofits row height in a range.

public void AutoFitRows(int startRow, int endRow, AutoFitterOptions options)
ParameterTypeDescription
startRowInt32Start row index.
endRowInt32End row index.
optionsAutoFitterOptionsThe options of auto fitter.

See Also