Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The value assigned is outside the value range of -1 and 8192. |
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.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2