ImageAttributes.SetColorKey
Contents
[
Hide
]SetColorKey(Color, Color)
Sets the color key for the default category.
public void SetColorKey(Color colorLow, Color colorHigh)
Parameter | Type | Description |
---|---|---|
colorLow | Color | The low color-key value. |
colorHigh | Color | The high color-key value. |
See Also
- struct Color
- class ImageAttributes
- namespace System.Drawing.Imaging
- assembly Aspose.Drawing
SetColorKey(Color, Color, ColorAdjustType)
Sets the color key (transparency range) for a specified category.
public void SetColorKey(Color colorLow, Color colorHigh, ColorAdjustType type)
Parameter | Type | Description |
---|---|---|
colorLow | Color | The low color-key value. |
colorHigh | Color | The high color-key value. |
type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which the color key is set. |
See Also
- struct Color
- enum ColorAdjustType
- class ImageAttributes
- namespace System.Drawing.Imaging
- assembly Aspose.Drawing