XlsFile.GetRowHeight Method
Overloads
XlsFile.GetRowHeight(Int32)
Returns 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 FlxConsts.RowMult to convert the internal units to pixels.
Syntax
Namespace: FlexCel.XlsAdapter
public override Int32 GetRowHeight(Int32 row)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row Index (1 based) |
Returns
Row height in internal excel units.
Examples
double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;
See also
XlsFile.GetRowHeight(Int32, Int32, Boolean)
Returns the current Row height for a given sheet, in Excel internal units. (1/20th of a point) See Excel Internal Units for more information in Excel internal units.
Remarks
Use FlxConsts.RowMult to convert the internal units to pixels.
Syntax
Namespace: FlexCel.XlsAdapter
public override Int32 GetRowHeight(Int32 sheet, Int32 row, Boolean HiddenIsZero)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
sheet | Int32 | Sheet where to look for the height. | |
row | Int32 | Row Index (1 based) | |
HiddenIsZero | Boolean | If true, the height returned for a hidden row will be 0 and not its real height. |
Returns
Row height in internal Excel units.(1/20th of a point)
Examples
double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;