Get Started
Usage API

GetRowHeight

GetRowHeight() → { pt }

Get rows height value

Parameters:

This method doesn't have any parameters.

Returns:

Type
pt

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oHeight = oWorksheet.GetRange("A1").GetRowHeight();
oWorksheet.GetRange("A1").SetValue("Height: ");
oWorksheet.GetRange("B1").SetValue(oHeight);
builder.SaveFile("xlsx", "GetRowHeight.xlsx");
builder.CloseFile();

Resulting document