ColorMap Class
Defines a map for converting colors. Several methods of the ImageAttributes class adjust image colors by using a color-remap table, which is an array of ColorMap structures. Not inheritable.
For a list of all members of this type, see ColorMap Members.
System.Object
System.Drawing.Imaging.ColorMap
[Visual Basic] NotInheritable Public Class ColorMap [C#] public sealed class ColorMap [C++] public __gc __sealed class ColorMap [JScript] public class ColorMap
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
This class defines a mapping between existing colors and the new colors to which they are to be converted. When the map is applied, any pixel of the old color is converted to the new color.
Requirements
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)