Picture.Height
From Real Software Documentation
Property (As Integer)
The height (in pixels) of the picture.
This example displays the width and height of the picture that the user chose.
dim width as integer = 2000
dim height as integer = 2000
//dim p2 as new picture(width,height,32)
// creates new picture
dim pic as new Picture(width, height, 32)
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
dim height as integer = 2000
//dim p2 as new picture(width,height,32)
// creates new picture
dim pic as new Picture(width, height, 32)
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
