Table of Contents

TXlsFile.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 TExcelFile.DefaultRowHeightAutomatic = false. To get the real default row height Excel will use when TExcelFile.DefaultRowHeightAutomatic = true or TExcelFile.DefaultRowHidden = true use TExcelFile.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.XlsAdapter

property TXlsFile.DefaultRowHeight: Integer

Examples

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

See also