Share via


Window.Height Property

Returns or sets the height of the window.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Height As Integer
    Get
    Set
'Usage
Dim instance As Window
Dim value As Integer

value = instance.Height

instance.Height = value
int Height { get; set; }

Property Value

Type: System.Int32

Remarks

You cannot set this property if the window is maximized or minimized.

Use the UsableHeight property of the Application object to determine the maximum size for the window. Use the WindowState property to determine the window state.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace