Version

TopPaneHeight Property

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

Property Value

The height of the top pane, or zero if there is no vertical pane split.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Thrown when the height specified is outside the valid height range (0 to 65535).
Remarks

If this value is zero, the top pane occupies the entire visible area of the worksheet. Otherwise, the top pane occupies the specified height and the bottom pane occupies the remaining area of the worksheet.

Requirements

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