2.1.2.5 PaletteStyle Flags

The PaletteStyle flags specify properties of graphics palettes. These flags can be combined to specify multiple options.

Constant/value

Description

PaletteStyleHasAlpha

0x00000001

If set, one or more of the palette entries MUST contain alpha transparency information.

PaletteStyleGrayScale

0x00000002

If set, the palette MUST contain only grayscale entries.

PaletteStyleHalftone

0x00000004

If set, the palette MUST contain discrete color values that can be used for halftoning.

Graphics palettes are specified by EmfPlusPalette objects.

See section 2.1.2 for the specification of additional bit flags.