This documentation is archived and is not being maintained.

ColorMatrixFlag Enumeration

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

[Visual Basic]
Public Enum ColorMatrixFlag
public enum ColorMatrixFlag
__value public enum ColorMatrixFlag
enum ColorMatrixFlag


Member name Description
AltGrays This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Default Specifies that all color values (including gray shades) are adjusted by the same color-adjustment matrix.
SkipGrays Specifies that 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.


Namespace: System.Drawing.Imaging

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Drawing.Imaging Namespace