1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 UndefinedSpace1 (variable) ... EmfDescription (variable) ... EmfDescription (variable): An optional, null-terminated Unicode UTF16-LE string of arbitrary length and content. Its location in the record and number of characters are specified by the offDescription and nDescription fields, respectively, in EmfHeader. If the value of either field is zero, no description string is present. EmfPixelFormatBuffer (variable): An optional array of bytes that contains the EMF pixel format descriptor, which is not required to be contiguous with the fixed portion of the EmfMetafileHeaderExtension2 record or with the EMF description string. Accordingly, the field in this buffer that is labeled "UndefinedSpace" is optional and MUST be ignored. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 UndefinedSpace2 (variable) ... EmfPixelFormat (40 bytes, optional) ... ... EmfPixelFormat (40 bytes): An optional object (section 2.2.22) that specifies the last pixel format that was defined when the metafile was recorded. Its size and location in the record are specified by the cbPixelFormat and offPixelFormat fields, respectively, in EmfHeaderExtension1. If the value of either field is zero, no pixel format descriptor is present. Note: No single structure definition can accurately represent every possible combination of optional fields. Therefore, the implementer is responsible for writing software that determines which fields are actually present in a given metafile, and for unmarshaling the contents of each field appropriately. The value of the Size field can be used to distinguish between the different EMR_HEADER record types. See EMR_HEADER record types (section 2.3.4.2) for details. See section 2.3.4.2 for additional header record types. Drawing Record Types The drawing record types perform graphics drawing. The following are EMF drawing record types.
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 UndefinedSpace1 (variable) ... EmfDescription (variable) ... EmfDescription (variable): An optional, null-terminated Unicode UTF16-LE string of arbitrary length and content. Its location in the record and number of characters are specified by the offDescription and nDescription fields, respectively, in EmfHeader. If the value of either field is zero, no description string is present. EmfPixelFormatBuffer (variable): An optional array of bytes that contains the EMF pixel format descriptor, which is not required to be contiguous with the fixed portion of the EmfMetafileHeaderExtension2 record or with the EMF description string. Accordingly, the field in this buffer that is labeled "UndefinedSpace" is optional and MUST be ignored. 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 UndefinedSpace2 (variable) ... EmfPixelFormat (40 bytes, optional) ... ... EmfPixelFormat (40 bytes): An optional object (section 2.2.22) that specifies the last pixel format that was defined when the metafile was recorded. Its size and location in the record are specified by the cbPixelFormat and offPixelFormat fields, respectively, in EmfHeaderExtension1. If the value of either field is zero, no pixel format descriptor is present. Note: No single structure definition can accurately represent every possible combination of optional fields. Therefore, the implementer is responsible for writing software that determines which fields are actually present in a given metafile, and for unmarshaling the contents of each field appropriately. The value of the Size field can be used to distinguish between the different EMR_HEADER record types. See EMR_HEADER record types (section 2.3.4.2) for details. See section 2.3.4.2 for additional header record types. Drawing Record Types The drawing record types perform graphics drawing. The following are EMF drawing record types.
%5BMS-EMF%5D-160714.docx