2.11.6 MetafileBlob

Referenced by: ExControlContainer, ExOleEmbedContainer, ExOleLinkContainer

An atom record that specifies a metafile ([MS-WMF]).


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

rh

...

mm

xExt

yExt

data (variable)

...

rh (8 bytes): A RecordHeader structure (section 2.3.1) that specifies the header for this record. Sub-fields are further specified in the following table.

Field

Meaning

rh.recVer

MUST be 0x0.

rh.recInstance

MUST be 0x000.

rh.recType

MUST be an RT_MetaFile.

rh.recLen

MUST be greater than 0x00000010.

mm (2 bytes): A signed integer that specifies the mapping mode of the metafile as specified in [MS-WMF] section 2.1.1.16.

xExt (2 bytes): A signed integer that specifies the width of the metafile in units that correspond to the mapping mode specified by the mm field as specified in [MS-WMF] section 2.1.1.16.

yExt (2 bytes): A signed integer that specifies the height of the metafile in units that correspond to the mapping mode specified by the mm field as specified in [MS-WMF] section 2.1.1.16.

data (variable): A metafile as specified in [MS-WMF]. The length, in bytes, of the field is specified by the following formula:

 rh.recLen – 6.