Table of Contents

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 FlxConsts.RowMult to convert the internal units to pixels.

Syntax

Namespace: FlexCel.Core

public abstract Int32 GetRowHeight(Int32 row, Boolean HiddenIsZero)

Parameters

<-> Parameter Type Description
row Int32 Row Index (1 based)
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

    double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;

See also