ExcelFile.GetRowHeight Method
Overloads
- ExcelFile.GetRowHeight(Int32)
- ExcelFile.GetRowHeight(Int32, Boolean)
- ExcelFile.GetRowHeight(Int32, Int32, Boolean)
ExcelFile.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.Core
public abstract 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
ExcelFile.GetRowHeight(Int32, Boolean)
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.Core
public Int32 GetRowHeight(Int32 row, Boolean HiddenIsZero)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
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.
Examples
double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;
See also
ExcelFile.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.Core
public abstract 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;