Height Property [Application, Window]

 

Height returns or sets the height of the window. Returns a long.

 

Syntax

object.Height

object.Height = newVal

 

Parameter

Type

Description

NewVal

Long

required, in pixels

 

Example 1

This example demonstrates how to return the width of the MapViewer application window in pixels.

 

Debug.Print mvApp.Height

 

Example 2

This example demonstrates how to set the height of the MapViewerapplication window to 500 pixels.

 

mvApp.Height = 500

 

Used by: Application object, Window object