次の方法で共有


2.3.7.5 EmfPlusSave Record

The EmfPlusSave record saves the graphics state, identified by a specified index, on a stack of saved graphics states.


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

Flags

Size

DataSize

StackIndex

Type (2 bytes): An unsigned integer that identifies this record type as EmfPlusSave from the RecordType enumeration. The value MUST be 0x4025.

Flags (2 bytes): An unsigned integer that is not used. This field SHOULD be set to zero and MUST be ignored upon receipt.

Size (4 bytes): An unsigned integer that specifies the 32-bit-aligned number of records in the entire record, including the 12-byte record header and record-specific data. For this record type, the value MUST be 0x00000010.

DataSize (4 bytes): An unsigned integer that specifies the 32-bit-aligned number of bytes of record-specific data that follows. For this record type, the value MUST be 0x00000004.

StackIndex (4 bytes): An unsigned integer that specifies a level to associate with the graphics state. The level value can be used by a subsequent EmfPlusRestore record to retrieve the graphics state.

Each saved graphics state MUST be pushed onto a stack of saved graphics states. The graphics state information is not written to the EMF+ metafile, so its format can be determined by the implementation.

See section 2.3.7 for the specification of additional state record types.