Height Property (Window object)

Read-only. A Long type property. Returns the height of the window in pixels.

Applies to: Window object

Syntax

[[Let] heightRet = ] object.Height

The Height property syntax has these parts:

Part Description
object Required. An expression that returns a Window object.
heightRet Optional. A Long type variable.

Remarks

Note, that window coordinates and dimensions are measured in screen pixels. To change the position and dimensions of a window, use the SetWindowRect method.

 

See Also

Left property, Top property, Width property, SetWindowRect method