Table of Contents

TExcelFile.GetRowHeight Method

Overloads

TExcelFile.GetRowHeight(Integer)

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 TExcelFile.GetRowHeight(const row: Integer): Integer; overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const row Integer Row Index (1 based)

Returns

Row height in internal excel units.

Examples

  RowHeightInPixels := xls.GetRowHeight(Row) / TFlxConsts.RowMult;

See also

TExcelFile.GetRowHeight(Integer, Boolean)

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 TExcelFile.GetRowHeight(const row: Integer; const HiddenIsZero: Boolean): Integer; overload;

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;

See also

TExcelFile.GetRowHeight(Integer, Integer, Boolean)

Returns the current Row height for a given sheet, 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 TExcelFile.GetRowHeight(const sheet: Integer; const row: Integer; const HiddenIsZero: Boolean): Integer; overload; virtual; abstract;

Parameters

<-> Parameter Type Description
const sheet Integer Sheet where to look for the height.
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.(1/20th of a point)

Examples

  RowHeightInPixels := xls.GetRowHeight(Row) / TFlxConsts.RowMult;

See also