SetRowHeight

function SetRowHeight(nRow: number = null, nHeight: number = null): void

Description

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

Parameters

nRownumberdefault: null

The number of the row to set the height to.

nHeightnumberdefault: null

The height of the row measured in points.

Returns

void

Try It

var oWorksheet = Api.GetActiveSheet();
oWorksheet.SetRowHeight(0, 30);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).