Bitmap.MakeTransparent
MakeTransparent()
Makes the default transparent color transparent for this Bitmap
.
public void MakeTransparent()
Exceptions
exception | condition |
---|
InvalidOperationException | The image format of the Bitmap is an icon format. |
Exception | The operation failed. |
See Also
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