Table of Contents

Method SetRowHeight

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

SetRowHeight(int, decimal)

Sets a row's height.

public void SetRowHeight(int row, decimal height)

Parameters

row int

The one-based row. It need not hold any cells.

height decimal

The height in points, 0 to 409.5. Zero hides the row.

Exceptions

ArgumentOutOfRangeException

The row is outside the worksheet grid, or the height is outside 0 to 409.5.

InvalidOperationException

The sheet is not a worksheet.