ImgGetWidth |
Top Previous Next |
Prototype
IntWidth:=ImgGetWidth(intImageHandle)
Description
Returns the image width in pixels.
Parameters
intImageHandle: integer value corresponding to the image handle.
Returned value
IntWidth: integer value showing the image width.
Notes
None.
Example
// Get width and height width:=ImgGetWidth(_CurrentImage); height:=ImgGetHeight(_CurrentImage);
// Log this info ApplicationLog('Image size: '+IntToStr(width)+'x'+IntToStr(height)); |