Export (0) Print
Expand All

2.2.17 LogPalette Object

The LogPalette object specifies a logical_palette that contains device-independent color definitions.


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

Version

NumberOfEntries

PaletteEntries (variable)

...

 

Version (2 bytes): A 16-bit unsigned integer that specifies the version number of the system. This MUST be 0x0300.

NumberOfEntries (2 bytes): A 16-bit unsigned integer that specifies the number of LogPaletteEntry objects (section 2.2.18) in the PaletteEntries field.

PaletteEntries (variable): An array of LogPaletteEntry objects that defines the color and usage of each entry in the logical_palette.

EMF MUST define colors as device-independent values because the metafile itself is device-independent.

 
Show:
© 2014 Microsoft