Get Started
Documentation

SetRowHeight

SetRowHeight(nRow, nHeight)

Sets the height of the specified row measured in points. A point is 1/72 inch

Parameters:

Name Type Description
nRow number
nHeight number

Example

Copy code
builder.CreateFile("xlsx");
oWorksheet = Api.GetActiveSheet();
oWorksheet.SetRowHeight(0, 30);
builder.SaveFile("xlsx", "SetRowHeight.xlsx");
builder.CloseFile();

Resulting document