SetRowHeight
Sets the row height value.
Parameters:
Name |
Type |
Description |
nHeight |
pt
|
The row height in the current range measured in points. |
Returns:
-
This method doesn't return any data.
Example
Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetRowHeight(32);
builder.SaveFile("xlsx", "SetRowHeight.xlsx");
builder.CloseFile();
Resulting document