Picture.Height

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aPicture.Height

Supported for all project types and targets.

The height (in pixels) of the picture.

Example

This example displays the width and height of the picture that the user chose:

Var pic As Picture
Var f As FolderItem
f = FolderItem.ShowOpenFileDialog("image/jpeg")
If f <> Nil Then
pic = Picture.Open(f)
Label1.Value = pic.Width.ToString
Label2.Value = pic.Height.ToString
End If