Table of Contents

ExcelFile.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 DefaultRowHeightAutomatic = false. To get the real default row height Excel will use when DefaultRowHeightAutomatic = true or DefaultRowHidden = true use 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.Core

public abstract Int32 DefaultRowHeight { get; set; }

Examples

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

See also