AutoFitRows

Worksheet.AutoFitRows method (1 of 5)

Autofits all rows in this worksheet.

public void AutoFitRows()

See Also


Worksheet.AutoFitRows method (2 of 5)

Autofits all rows in this worksheet.

public void AutoFitRows(bool onlyAuto)
Parameter Type Description
onlyAuto Boolean True,only autofits the row height when row height is not customed.

See Also


Worksheet.AutoFitRows method (3 of 5)

Autofits all rows in this worksheet.

public void AutoFitRows(AutoFitterOptions options)
Parameter Type Description
options AutoFitterOptions The auto fitter options

See Also


Worksheet.AutoFitRows method (4 of 5)

Autofits row height in a range.

public void AutoFitRows(int startRow, int endRow)
Parameter Type Description
startRow Int32 Start row index.
endRow Int32 End row index.

See Also


Worksheet.AutoFitRows method (5 of 5)

Autofits row height in a range.

public void AutoFitRows(int startRow, int endRow, AutoFitterOptions options)
Parameter Type Description
startRow Int32 Start row index.
endRow Int32 End row index.
options AutoFitterOptions The options of auto fitter.

See Also