Table of Contents

TExcelFile.DefaultRowHeightVisual Method

The default height for empty rows, in Excel internal units. (1/20th of a point). Different from DefaultRowHeight this property returns the actual row height as Excel will show it, considering DefaultRowHidden and DefaultRowHeightAutomatic. 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.DefaultRowHeightVisual(const useDefaultRowHeightAutomatic: Boolean): Integer; virtual; abstract;

Parameters

<-> Parameter Type Description
const useDefaultRowHeightAutomatic Boolean If false, the property DefaultRowHeightAutomatic will be ignored and considered false.
In many cases you will prefer to use the default row height stored in the file, even if DefaultRowHeightAutomatic is true.

Examples

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

See also