Height Property [Application, Window]

Height property returns or sets the height of the window in screen coordinates. Returns a long.

Syntax

object.Height

object.Height = newVal

Parameter

Type

Description

newVal

Long

required, use screen coordinates

Example 1

This example demonstrates how to return the height of the Surfer application window in pixels.

Debug.Print SurferApp.Height

Example 2

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

SurferApp.Height = 500

Example 3

This script displays all the properties in the Application object.

Example 4

This script displays all the methods and properties in the Window object.

Used by: Application object, Window object