bOk = MImgSetPixelOpacity( hImage, nX, nY, nOpacity )

Sets the opacity of an image's pixel.

Parameters
hImage
Number: Handle of the image

nX, nY
Number: X,Y coordinate

nOpacity
Number: The new pixel opacity

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

Example
In this example the opacity of the top left pixel is set to fully transparent:

Call MImgSetPixelOpacity( hImage, 0, 0, 0 )

See also
About Opacity
MImgGetPixelOpacity
MImgGetPixelColor
MImgSetColorOpacity
MImgSetMaxOpacity
MImgSetOpacity
MImgSetPixelColor

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor