Worksheet.AutoFitRow

AutoFitRow(int, int, int)

Autofits the row height.

public void AutoFitRow(int rowIndex, int firstColumn, int lastColumn)
ParameterTypeDescription
rowIndexInt32Row index.
firstColumnInt32First column index.
lastColumnInt32Last column index.

Remarks

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

See Also


AutoFitRow(int, int, int, int)

Autofits row height in a rectangle range.

public void AutoFitRow(int startRow, int endRow, int startColumn, int endColumn)
ParameterTypeDescription
startRowInt32Start row index.
endRowInt32End row index.
startColumnInt32Start column index.
endColumnInt32End column index.

See Also


AutoFitRow(int)

Autofits the row height.

public void AutoFitRow(int rowIndex)
ParameterTypeDescription
rowIndexInt32Row index.

Remarks

AutoFitRow is an imprecise function.

See Also