Picture.Height

From Xojo Documentation
Jump to: navigation, search
Property (As Integer)
The property is read-only.

IntegerValue = aPicture.Height

The height (in pixels) of the picture.

Example

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

Dim pic As Picture
Dim f As FolderItem
f = GetOpenFolderItem("image/jpeg")
If f <> Nil Then
pic = Picture.Open(f)
Label1.Text = Str(pic.Width)
Label2.Text = Str(pic.Height)
End If
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About