PaletteFlags enumeration (gdipluspixelformats.h)

The PaletteFlags enumeration indicates attributes of the color data in a palette.

Syntax

typedef enum PaletteFlags {
  PaletteFlagsHasAlpha = 0x0001,
  PaletteFlagsGrayScale = 0x0002,
  PaletteFlagsHalftone = 0x0004
} ;

Constants

 
PaletteFlagsHasAlpha
Value: 0x0001
Indicates that one or more of the palette entries contains alpha (transparency) information.
PaletteFlagsGrayScale
Value: 0x0002
Indicates that the palette contains only grayscale entries.
PaletteFlagsHalftone
Value: 0x0004
Indicates that the palette is the Windows halftone palette.

Requirements

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