Table of Contents

XlsFile.DefaultRowHeight Property

The default height for empty rows, in Excel internal units. (1/20th of a point). IMPORTANT: For this property to have any effect, you also need to set ExcelFile.DefaultRowHeightAutomatic = false. To get the real default row height Excel will use when ExcelFile.DefaultRowHeightAutomatic = true or ExcelFile.DefaultRowHidden = true use ExcelFile.DefaultRowHeightVisual 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 DefaultRowHeight { get; set; }

Examples

    double RowHeightInPixels = xls.GetRowHeight(Row) / FlxConsts.RowMult;

See also