IRowColSize.GetRowHeight Method
Returns the current Row height, in Excel internal units. (1/20th of a point) See Excel Internal Units for more information in Excel internal units.
Remarks
Use TFlxConsts.RowMult to convert the internal units to pixels.
Syntax
Unit: FlexCel.Core
function IRowColSize.GetRowHeight(const row: Integer; const HiddenIsZero: Boolean): Integer; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | row | Integer | Row Index (1 based) |
const | HiddenIsZero | Boolean | If true, the height returned for a hidden row will be 0 and not its real height. |
Returns
Row height in internal excel units.
Examples
RowHeightInPixels := xls.GetRowHeight(Row) / TFlxConsts.RowMult;