Export (0) Print
Expand All

ColorPalette structure

Applies to: desktop apps only

The ColorPalette structure defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors.

Syntax

typedef struct {
  UINT Flags;
  UINT Count;
  ARGB Entries[1];
} ColorPalette;

Members

Flags

Type: UINT

Combination of flags from the PaletteFlags enumeration.

Count

Type: UINT

Number of elements in the Entries array.

Entries

Type: ARGB[1]

Array of ARGB colors.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluspixelformats.h (include Gdiplus.h)

See also

Color
Image::GetPalette
Image::SetPalette
Types of Bitmaps

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft