MImgGetType
nType = MImgGetType( hImage )
Gets an image's type.
Parameters
hImage
Number: Handle of the image
Return
Number: One of the supported image types if successful or MIMG_TYPE_UNKNOWN if an error occurs:
Example
In this example is determined whether the type of an image is bitmap:
Set nType = MImgGetType( hImage )
If nType = MIMG_TYPE_BITMAP
Call SalMessageBox( "This image is a bitmap.", "Image info", MB_IconAsterisk )
Created with the Personal Edition of HelpNDoc: Easily create Help documents