API Documentation > CorelDRAW > 2025-v26 > AppWindow > IVGAppWindow
AppWindow.ClientWidth property
Gets the width of window client area
Syntax:
Property Get ClientWidth() As Long
Remarks:
The ClientWidth property returns a numerical value that measures the width of a client area, the gray area where document windows display within the main application window of CorelDRAW. The area excludes dockers, docked toolbars, menus, the status bar, and palettes. The ClientWidth property is measured in screen pixels.
Examples:
The following VBA example displays the client width, in screen pixels, in a message box.
Sub AppWindowClient()
With AppWindow
  MsgBox .ClientWidth
End With 
End Sub