Home > Language Reference > Classes > Bitmap

Height Property

Image height.

Syntax

Public Property Get Height() As Integer

Remarks

The Height property returns the height of the image contained in the Bitmap object expressed in standard coordinates. If the object does not contain an image and is associated with a resource, it is loaded. Otherwise, a runtime error occurs.

You can convert standard coordinates to pixels using the following formula:

Height(pixels) = Height * Density / 72

It is strongly advised to read the Graphics section of this documentation to learn more about coordinates system, and bitmap and screen densities.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-