2.2.2.28 EmfPlusPalette Object

The EmfPlusPalette object specifies the colors that make up a palette.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

PaletteStyleFlags

PaletteCount

PaletteEntries (variable)

...

PaletteStyleFlags (4 bytes): An unsigned integer that specifies the attributes of data in the palette. This value MUST be composed of PaletteStyle flags (section 2.1.2.5).

PaletteCount (4 bytes): An unsigned integer that specifies the number of entries in the PaletteEntries array.

PaletteEntries (variable): An array of PaletteCount EmfPlusARGB objects (section 2.2.2.1) that specify the data in the palette.

See section 2.2.2 for the specification of additional graphics objects.