The Width property returns or sets the width of the window or application. Returns a long.
Syntax
object.Width
object.Width = newVal
Parameter |
Type |
Description |
newVal |
Long |
required; width in pixels |
Example 1
This example demonstrates how to return the MapViewer application window height in pixels.
Debug.Print mvApp.Width
Example 2
This example demonstrates how to set the width of the MapViewer application window to 700 pixels.
mvApp.Width = 700
Used by: Application object, Window object