Visual Basic
C#
Managed Extensions for C++
C++/CLI
Return Value
A System.Drawing.Bitmap value which represents the returned bitmap.The original image must be a 32 bit image where 8 bits are the alpha layer and 24 bits are rgb color layer.
Returning the handle implicitly reduces the image down to 24 bit. The alpha object may be modified and restored via the AlphaAdd method.