Object Model Reference : Classes : A : AppWindow : Properties : AppWindow.ClientWidth |
Property ClientWidth As Long
Member of AppWindow
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.
The ClientWidth property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.