Table of Contents

TExcelFile.DefaultRowHeight Property

The default height for empty rows, in Excel internal units. (1/20th of a point). IMPORTANT: For this property to have any effect, you also need to set DefaultRowHeightAutomatic = false. To get the real default row height Excel will use when DefaultRowHeightAutomatic = true or DefaultRowHidden = true use DefaultRowHeightVisual 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

property TExcelFile.DefaultRowHeight: Integer

Examples

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

See also