3.2.32.7 EmfPlusSave Example

This section provides an example of the EmfPlusSave record (section 2.3.7.5).

 000003F0:                         25 40 00 00 10 00 00 00
 00000400: 04 00 00 00 00 00 00 00  


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

Type (0x4025)

Flags (0x0000)

Size (0x00000010)

DataSize (0x00000004)

StackIndex (0x00000000)

Type (2 bytes): 0x4025 identifies the record type as EmfPlusSave.

Flags (2 bytes): 0x0000 This field is undefined for this record type.

Size (4 bytes): 0x00000010 specifies the 32-bit-aligned size of the entire record in bytes, including the 12-byte record header and the record-specific buffer data.

DataSize (4 bytes): 0x00000004 specifies the 32-bit-aligned number of bytes of data in the PointData member that follows. This number does not include the size of the invariant part of this record.

StackIndex (4 bytes): 0x00000000 specifies the identifier used by the corresponding EmfPlusRestore operation (section 2.3.7.4) to retrieve the graphics state from the correct save level on the graphics state stack.