This method is deprecated, use GetAlphaChannelAsHBitmap instead.
Returns an 8 bit handle to an image.
Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- hPlane
- An integer pointer which is a bitmap handle to a plane which is similar to an 8 bit gray scaled image.
Returning the handle implicitly reduces the image down to 24 bit. The alpha layer may be modified and restored via the AlphaAdd(IntPtr) method.
The original image must be a 32 bit image where 8 bits are the alpha layer and 24 bits are rgb layer.