Visual Basic (Declaration) | |
---|---|
Public Function CreateAlphaImage() As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterImage CreateAlphaImage() |
Managed Extensions for C++ | |
---|---|
public: RasterImage* CreateAlphaImage(); |
C++/CLI | |
---|---|
public: RasterImage^ CreateAlphaImage(); |
Return Value
The newly create image, which contains the source image alpha channel data.Only 16-, 32-, and 64-bit images can have an alpha channel. If the source image has another color resolution, the result is an image filled with zeros.
Typically, the alpha channel contains a mask that is used for transparency.
For more information, refer to Implementing Transparency.
For more information, refer to Grayscale Images.
For more information, refer to Saving A Region.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family