ImageAttributes.SetColorKey Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the color key (transparency range).

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodSetColorKey(Color, Color)

Sets the color key for the default category.

System_CAPS_pubmethodSetColorKey(Color, Color, ColorAdjustType)

Sets the color key (transparency range) for a specified category.

Return to top
Show: