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