Get Started
Usage API

SetRowHeight

SetRowHeight(nHeight)

Set rows height value

Parameters:

Name Type Description
nHeight pt

The height the row in the range specified, measured in points.

Returns:

This method doesn't return any data.

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetRowHeight(32);
builder.SaveFile("xlsx", "SetRowHeight.xlsx");
builder.CloseFile();

Resulting document