API Documentation
>
CorelDRAW
>
2025-v26
>
Window
>
IVGWindow
Window.Height property
Gets or sets the window's height
Syntax:
Property
Get
Height
(
)
As
Long
Property
Let
Height
(
ByVal
Value
As
Long
)
Remarks:
The
Height
property returns or specifies the height of a window. This value is measured in screen pixels.
Examples:
The following VBA example displays the height of the active window.
Sub Test() MsgBox "The height of the active window is: " & ActiveWindow.Height End Sub