ImgGetHeight

Top  Previous  Next

Prototype

 

IntHeight:=ImgGetHeight(intImageHandle)

 

Description

 

Returns the image height in pixels.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

Returned value

 

IntHeight: integer value showing the image height.

 

Notes

 

None.

 

Example

 

// Get width and height

width:=ImgGetWidth(_CurrentImage);

height:=ImgGetHeight(_CurrentImage);

 

// Log this info

ApplicationLog('Image size: '+IntToStr(width)+'x'+IntToStr(height));