TXlsFile.DefaultRowHeightVisual Method
The default height for empty rows, in Excel internal units. (1/20th of a point). Different from TExcelFile.DefaultRowHeight this property returns the actual row height as Excel will show it, considering TExcelFile.DefaultRowHidden and TExcelFile.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.XlsAdapter
function TXlsFile.DefaultRowHeightVisual(const useDefaultRowHeightAutomatic: Boolean): Integer; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | useDefaultRowHeightAutomatic | Boolean | If false, the property TExcelFile.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;