Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ColorMatrixFlag Enumeration

ColorMatrixFlag Enumeration

Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes.

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

public enum ColorMatrixFlag

Member nameDescription
AltGraysOnly gray shades are adjusted.
DefaultAll color values, including gray shades, are adjusted by the same color-adjustment matrix.
SkipGraysAll colors are adjusted, but gray shades are not adjusted. A gray shade is any color that has the same value for its red, green, and blue components.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft