Version

DefaultRowHeight Property

Gets or sets the default row height in twips (1/20th of a point).
Syntax
public int DefaultRowHeight {get; set;}

Property Value

The default row height in twips (1/20th of a point).
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The value assigned is outside the value range of -1 and 8192.
Remarks

The default row height is the height of all rows which do not have their height explicitly set to a positive number.

If the assigned value is -1, the default row height will then be calculated based on the default font for the workbook, and subsequently getting this property will return the font-based default row height.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also