XlsFile.DefaultRowHeightVisual Method
The default height for empty rows, in Excel internal units. (1/20th of a point). Different from ExcelFile.DefaultRowHeight this property returns the actual row height as Excel will show it, considering ExcelFile.DefaultRowHidden and ExcelFile.DefaultRowHeightAutomatic. 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 DefaultRowHeightVisual(Boolean useDefaultRowHeightAutomatic)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
useDefaultRowHeightAutomatic | Boolean | If false, the property ExcelFile.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
double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;