Table of Contents

Method GetRowHeight

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

GetRowHeight(int)

Gets the height the sheet states for a row.

public decimal? GetRowHeight(int row)

Parameters

row int

The one-based row, 1 to 1,048,576.

Returns

decimal?

The height in points; null when the sheet states none and Excel sizes the row to its content.

Exceptions

ArgumentOutOfRangeException

The row is outside the worksheet grid.

InvalidDocumentException

The sheet's part is malformed.