Bitmap.MakeTransparent
MakeTransparent()
Makes the specified color transparent for this Bitmap.
public void MakeTransparent()
See Also
- class Bitmap
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common
MakeTransparent(Color)
Makes the specified color transparent for this Bitmap.
public void MakeTransparent(Color transparentColor)
Parameter | Type | Description |
---|---|---|
transparentColor | Color | The Color structure that represents the color to make transparent. |
Exceptions
exception | condition |
---|---|
InvalidOperationException | The image format of the Bitmap is an icon format. |
Exception | The operation failed. |
See Also
- struct Color
- class Bitmap
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common