Version

Height Property (WorksheetRow)

Gets or sets the height of the row in twips (1/20th of a point).
Syntax
'Declaration
 
Public Property Height As Integer
public int Height {get; set;}

Property Value

The height of the row in twips (1/20th of a point).
Exceptions
ExceptionDescription
System.InvalidOperationExceptionFrom the setter if the row was removed from the worksheet.
Remarks

If the height of the row is less than zero, the Worksheet.DefaultRowHeight of the owning worksheet will be used as the row's height.

The value assigned must be between -1 and 8192. Invalid values will be automatically adjusted to valid values.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also