API Documentation > CorelDRAW > 2025-v26 > AppWindow > IVGAppWindow
AppWindow.Width property
Gets or sets the application's window width
Syntax:
Property Get Width() As Long
Property Let Width(ByVal Value As Long)
Remarks:
The Width property sets the height of the CorelDRAW main application window on the desktop. This property only applies when the main application window is in a normal window state; that is, the window is not minimized or maximized. The width of the application window is a numerical value measured in screen pixels.
Examples:
The following VBA example sets the current window state to normal, defines the new dimensions of the window, and resizes the CorelDRAW main application window according to the new dimensions.
Sub AppWindowWidth()
With AppWindow
  .WindowState = cdrWindowNormal
  .Top = 10
  .Left = 10
  .Height = 500
  .Width = 600
End With 
End Sub