TXlsFile.SetRowHeight Method
Sets 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.XlsAdapter
procedure TXlsFile.SetRowHeight(const row: Integer; const height: Integer); override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | row | Integer | Row Index (1 based) |
const | height | Integer | Row height, in Excel internal units. (1/20th of a point). See TFlxConsts.RowMult |
Examples
RowHeightInPixels := xls.GetRowHeight(Row) / TFlxConsts.RowMult;