System.Drawing.Imaging.ColorMap Class

Defines a map for converting colors. Several methods of the System.Drawing.Imaging.ImageAttributes class adjust image colors by using a color-remap table, which is an array of System.Drawing.Imaging.ColorMap structures. Not inheritable.

See Also: ColorMap Members

Syntax

public sealed class ColorMap

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
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0