SetRowHeight
Sets the row height value.
Syntax
expression.SetRowHeight(nHeight);
expression
- A variable that represents a ApiRange class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
nHeight | Required | pt | The row height in the current range measured in points. |
Returns
This method doesn't return any data.
Example
This example sets the row height value.
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetRowHeight(32);