2.3.3.4.3 EMR_COMMENT_MULTIFORMATS Record
The EMR_COMMENT_MULTIFORMATS record specifies an image in multiple graphics formats.
Fields not specified in this section are specified in section 2.3.3 or 2.3.3.4.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
DataSize |
|||||||||||||||||||||||||||||||
CommentIdentifier |
|||||||||||||||||||||||||||||||
PublicCommentIdentifier |
|||||||||||||||||||||||||||||||
OutputRect |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
CountFormats |
|||||||||||||||||||||||||||||||
aFormats (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
FormatData (variable) |
|||||||||||||||||||||||||||||||
... |
PublicCommentIdentifier (4 bytes): An unsigned integer that identifies the type of public comment record as EMR_COMMENT_MULTIFORMATS from the EmrComment enumeration (section 2.1.10). This value is 0x40000004.
OutputRect (16 bytes): A RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates.
CountFormats (4 bytes): An unsigned integer that specifies the number of graphics formats contained in this record.
aFormats (variable): A CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4) in order of preference.
FormatData (variable): The image data for all graphics formats contained in this record.
The size of the data for each image is specified by the DataSize field in the corresponding EmrFormat object. Thus, the total size of this field is the sum of DataSize values in all EmrFormat objects.
The graphics format of the data for each image is specified by the Signature field in the corresponding EmrFormat object.
For example, an application can use this record type to specify an image in EPS format using EpsData objects (section 2.2.6). Subsequently, the PostScript version of the image can be rendered if that graphics format is supported by the printer driver on the playback system.<61>
See section 2.3.3.4 for more public comment record types.