System::Drawing::Imaging::ImageAttributes::SetColorKey method
ImageAttributes::SetColorKey method
Sets the color range that is made transparent during rendering.
void System::Drawing::Imaging::ImageAttributes::SetColorKey(Color colorLow, Color colorHigh, ColorAdjustType type=ColorAdjustType::Default)
| Parameter | Type | Description |
|---|---|---|
| colorLow | Color | The lowest color-key value. |
| colorHigh | Color | The highest color-key value. |
| type | ColorAdjustType | The category for which the color key is set. |
Remarks
Color keys are currently applied only by supported Graphics::DrawImage overloads. Only the Default and Bitmap adjustment categories affect image rendering.
See Also
- Class Color
- Enum ColorAdjustType
- Class ImageAttributes
- Namespace System::Drawing::Imaging
- Library Aspose.TeX for C++