bOk = MImgHasOpacity( hImage )

Determines whether an image has any transparency. This is true when an image has any opacity or a transparent color.

Parameters
hImage
Number: Handle of the image

Return
Boolean: TRUE when the image has any transparency or FALSE when not

Example

Set bOk = MImgHasOpacity( hImage )

See also
About Opacity
MImgSetColorOpacity
MImgSetOpacity
MImgSetPixelOpacity
MImgSetTranspColor

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites