bOk = MImgGetSize( hImage, nrWidth, nrHeight )

Gets an image's size in pixels on the display device.

Parameters
hImage
Number: Handle of the image

nrWidth
Receive Number: Contains the width in pixels if the function returns successfully

nrHeight
Receive Number: Contains the height in pixels if the function returns successfully

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example the size of an image is determined:

Call MImgGetSize( hImage, nWidth, nHeight )

See also
MImgResample
MImgSetSize

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily