ColorMap structure (gdipluscolormatrix.h)

The ColorMap structure contains two Color objects. Several methods of the ImageAttributes class adjust image colors by using a color remap table, which is an array of ColorMap structures.

Syntax

struct ColorMap {
  Color oldColor;
  Color newColor;
};

Members

oldColor

Type: Color

The original color.

newColor

Type: Color

The new color.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header gdipluscolormatrix.h (include Gdiplus.h)

See also

Color

ImageAttributes

Using a Color Remap Table