Previous Document Next Document

Object Model Reference : Classes : W : Window : Properties : Window.Width


Window.Width

Property Width As Long

Description

Member of Window

The Width property returns or specifies the width of a window. This value is measured in screen pixels.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.