3.2 EMF+ Metafile Example

This section provides an example of a metafile, which when processed renders the following image:

EMF+ Metafile Example

Figure 5: EMF+ Metafile Example

The contents of this metafile example are shown below in hexadecimal bytes. The far-left column is the byte offset from the start of the metafile; the far-right characters are the interpretation of the byte values in the Latin-1 ANSI character set [ISO/IEC-8859-1]. The sections that follow describe the metafile records that convey this series of bytes.

 00000000: 01 00 00 00 6C 00 00 00 FF FF FF FF FF FF FF FF  ...l...ÿÿÿÿÿÿÿÿ
 00000010: 64 00 00 00 6B 00 00 00 00 00 00 00 00 00 00 00 d...k...........
 00000020: F0 07 00 00 77 08 00 00 20 45 4D 46 00 00 01 00 ð..w .. EMF.. .
 00000030: 5C 0A 00 00 4C 00 00 00 02 00 00 00 00 00 00 00 \...L... .......
 00000040: 00 00 00 00 00 00 00 00 40 06 00 00 B0 04 00 00 ........@ ..° ..
 00000050: 40 01 00 00 F0 00 00 00 00 00 00 00 00 00 00 00 @ ..ð...........
 00000060: 00 00 00 00 00 E2 04 00 80 A9 03 00 46 00 00 00 .....â .€© .F...
 00000070: 2C 00 00 00 20 00 00 00 45 4D 46 2B 01 40 01 00 ,... ...EMF+ @ .
 00000080: 1C 00 00 00 10 00 00 00 02 10 C0 DB 01 00 00 00  ... ...  ÀÛ ...
 00000090: 66 00 00 00 6C 00 00 00 21 00 00 00 08 00 00 00 f...l...!... ...
 000000A0: 62 00 00 00 0C 00 00 00 01 00 00 00 21 00 00 00 b....... ...!...
 000000B0: 08 00 00 00 62 00 00 00 0C 00 00 00 01 00 00 00  ...b....... ...
 000000C0: 21 00 00 00 08 00 00 00 21 00 00 00 08 00 00 00 !... ...!... ...
 000000D0: 73 00 00 00 0C 00 00 00 00 00 00 00 1C 00 00 00 s........... ...
 000000E0: 08 00 00 00 25 00 00 00 0C 00 00 00 00 00 00 80  ...%..........€
 000000F0: 25 00 00 00 0C 00 00 00 07 00 00 80 25 00 00 00 %.........€%...
 00000100: 0C 00 00 00 0E 00 00 80 30 00 00 00 0C 00 00 00 .......€0.......
 00000110: 0F 00 00 80 19 00 00 00 0C 00 00 00 FF FF FF 00  ..€ .......ÿÿÿ.
 00000120: 18 00 00 00 0C 00 00 00 00 00 00 00 12 00 00 00  ........... ...
 00000130: 0C 00 00 00 02 00 00 00 13 00 00 00 0C 00 00 00 .... ... .......
 00000140: 01 00 00 00 14 00 00 00 0C 00 00 00 0D 00 00 00  ... ...........
 00000150: 15 00 00 00 0C 00 00 00 01 00 00 00 16 00 00 00  ....... ... ...
 00000160: 0C 00 00 00 00 00 00 00 0D 00 00 00 10 00 00 00 ............ ...
 00000170: 00 00 00 00 00 00 00 00 3A 00 00 00 0C 00 00 00 ........:.......
 00000180: 0A 00 00 00 1B 00 00 00 10 00 00 00 00 00 00 00 .... ... .......
 00000190: 00 00 00 00 23 00 00 00 20 00 00 00 87 C3 81 3F ....#... ...‡Ã□?
 000001A0: 00 00 00 00 00 00 00 00 7A BD 80 3F 00 00 00 80 ........z½€?...€
 000001B0: 00 00 00 80 24 00 00 00 24 00 00 00 87 C3 81 3F ...€$...$...‡Ã□?
 000001C0: 00 00 00 00 00 00 00 00 7A BD 80 3F 00 00 00 80 ........z½€?...€
 000001D0: 00 00 00 80 04 00 00 00 73 00 00 00 0C 00 00 00 ...€ ...s.......
 000001E0: 00 00 00 00 0D 00 00 00 10 00 00 00 00 00 00 00 ........ .......
 000001F0: 00 00 00 00 52 00 00 00 70 01 00 00 01 00 00 00 ....R...p .. ...
 00000200: 10 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00  ..............
 00000210: BC 02 00 00 00 00 00 00 07 02 02 22 53 00 79 00 ¼ ......  "S.y.
 00000220: 73 00 74 00 65 00 6D 00 00 00 00 00 00 00 00 00 s.t.e.m.........
 00000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000260: B1 E6 31 7C BC FE 12 00 21 00 00 00 00 00 13 00 ±æ1|¼þ .!..... .
 00000270: 00 00 2E 00 54 E1 12 00 BC FE 12 00 14 E1 12 00 ....Tá .¼þ . á .
 00000280: 00 00 00 00 F4 F4 12 00 34 B8 F9 77 68 26 F4 77 ....ôô .4¸ùwh&ôw
 00000290: FF FF FF FF AD 97 F7 77 7F 99 F7 77 70 E1 12 00 ÿÿÿÿ­—÷w™÷wpá .
 000002A0: 21 00 00 00 01 00 00 00 FC 8B CE 02 38 A6 17 00 !... ...ü‹Î 8¦ .
 000002B0: 7F 99 F7 77 B0 DA 4F 00 63 DE 5D 00 3E 08 5A 00 ™÷w°ÚO.cÞ].> Z.
 000002C0: 68 99 5A 00 F5 82 54 00 1A 91 54 00 8F 9B C7 77 h™Z.õ‚T. 'T.□›Çw
 000002D0: BD 93 54 00 6F 9D 54 00 94 E5 54 00 00 00 54 00 ½"T.o□T."åT...T.
 000002E0: AF 58 56 00 6B 50 56 00 B4 3A 55 00 05 39 55 00 ¯XV.kPV.':U. 9U.
 000002F0: 09 35 55 00 64 C4 4F 00 00 82 41 00 FF 44 41 00 .5U.dÄO..‚A.ÿDA.
 00000300: 12 4E 41 00 E1 4B 41 00 1D 1E 31 7C 4B 16 31 7C  NA.áKA.  1|K 1|
 00000310: DA EF 30 7C 49 F4 30 7C EA A3 37 7C 00 00 D5 77 Úï0|Iô0|ê£7|..Õw
 00000320: A5 DC D5 77 46 46 D3 77 D7 96 D3 77 97 ED 31 7C ¥ÜÕwFFÓw×–Ów—í1|
 00000330: B1 E6 31 7C 00 00 2E 01 10 E2 12 00 68 8B CE 02 ±æ1|...  â .h‹Î 
 00000340: 08 ED F8 77 68 8B CE 02 00 00 2E 01 01 00 00 00  íøwh‹Î ...  ...
 00000350: 00 00 2E 01 C4 04 F9 77 27 05 F9 77 64 76 00 08 ... Ä ùw' ùwdv. 
 00000360: 00 00 00 00 25 00 00 00 0C 00 00 00 01 00 00 00 ....%....... ...
 00000370: 25 00 00 00 0C 00 00 00 0E 00 00 80 28 00 00 00 %..........€(...
 00000380: 0C 00 00 00 01 00 00 00 46 00 00 00 88 02 00 00 .... ...F...ˆ ..
 00000390: 7C 02 00 00 45 4D 46 2B 1E 40 0B 00 0C 00 00 00 | ..EMF+ @......
 000003A0: 00 00 00 00 24 40 02 00 0C 00 00 00 00 00 00 00 ....$@ .........
 000003B0: 21 40 07 00 0C 00 00 00 00 00 00 00 22 40 03 00 !@........."@ .
 000003C0: 0C 00 00 00 00 00 00 00 1F 40 05 00 0C 00 00 00 ........¬@ .....
 000003D0: 00 00 00 00 2C 40 00 00 24 00 00 00 18 00 00 00 ....,@..$... ...
 000003E0: 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 80 3F ..€?..........€?
 000003F0: 00 00 00 80 00 00 00 80 25 40 00 00 10 00 00 00 ...€...€%@.. ...
 00000400: 04 00 00 00 00 00 00 00 2C 40 00 00 24 00 00 00  .......,@..$...
 00000410: 18 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00  .....€?........
 00000420: 00 00 80 3F 00 00 00 00 00 00 00 00 2A 40 00 00 ..€?........*@..
 00000430: 24 00 00 00 18 00 00 00 00 00 80 3F 00 00 00 00 $... .....€?....
 00000440: 00 00 00 00 00 00 80 3F 00 00 00 80 00 00 00 80 ......€?...€...€
 00000450: 28 40 00 00 10 00 00 00 04 00 00 00 01 00 00 00 (@.. ... ... ...
 00000460: 1E 40 0B 00 0C 00 00 00 00 00 00 00 24 40 02 00  @..........$@ .
 00000470: 0C 00 00 00 00 00 00 00 21 40 07 00 0C 00 00 00 ........!@.....
 00000480: 00 00 00 00 22 40 03 00 0C 00 00 00 00 00 00 00 ...."@ .........
 00000490: 1F 40 05 00 0C 00 00 00 00 00 00 00 30 40 02 00 ¬@ .........0@ .
 000004A0: 10 00 00 00 04 00 00 00 00 00 80 3F 2A 40 00 00  ... .....€?*@..
 000004B0: 24 00 00 00 18 00 00 00 00 00 80 3F 00 00 00 00 $... .....€?....
 000004C0: 00 00 00 00 00 00 80 3F 00 00 00 80 00 00 00 80 ......€?...€...€
 000004D0: 2A 40 00 00 24 00 00 00 18 00 00 00 00 00 80 3F *@..$... .....€?
 000004E0: 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 80 ..........€?...€
 000004F0: 00 00 00 80 2A 40 00 00 24 00 00 00 18 00 00 00 ...€*@..$... ...
 00000500: 0D 74 DA 3A 00 00 00 00 00 00 00 00 0D 74 DA 3A .tÚ:.........tÚ:
 00000510: 00 00 00 80 00 00 00 80 2A 40 00 00 24 00 00 00 ...€...€*@..$...
 00000520: 18 00 00 00 92 5F 2C 3E 00 00 00 00 00 00 00 00  ...'_,>........
 00000530: EB 51 38 3E 00 00 00 80 00 00 00 80 08 40 00 03 ëQ8>...€...€ @. 
 00000540: C4 00 00 00 B8 00 00 00 02 10 C0 DB 13 00 00 00 Ä...¸...  ÀÛ ...
 00000550: 00 00 00 00 FC 7F F5 43 CF FF FF BF 9D 8E 08 44 ....üõCÏÿÿ¿□Ž D
 00000560: 1E 01 00 C0 FE BF 13 44 EB 15 2B 42 FF BF 13 44   .Àþ¿ Dë +Bÿ¿ D
 00000570: FC FF C3 42 FF BF 13 44 FE FF C3 42 FF BF 13 44 üÿÃBÿ¿ DþÿÃBÿ¿ D
 00000580: 01 00 C4 42 FF BF 13 44 03 00 C4 42 FF BF 13 44  .ÄBÿ¿ D .ÄBÿ¿ D
 00000590: FF FF F5 43 FF BF 13 44 9F CE 08 44 9F 8E 08 44 ÿÿõCÿ¿ DŸÎ DŸŽ D
 000005A0: FF FF 13 44 00 80 F5 43 FF FF 13 44 05 00 C2 42 ÿÿ D.€õCÿÿ D .ÂB
 000005B0: FF FF 13 44 16 16 27 42 00 00 14 44 72 FF 3F C0 ÿÿ D  'B.. Drÿ?À
 000005C0: 9F CE 08 44 E8 FF 3F C0 01 00 F6 43 10 00 40 C0 ŸÎ Dèÿ?À .öC .@À
 000005D0: 04 00 C4 42 64 00 40 C0 17 16 2B 42 FA 15 27 42  .ÄBd.@À  +Bú 'B
 000005E0: E8 FE FF BF F6 FF C1 42 26 00 00 C0 00 03 03 03 èþÿ¿öÿÁB&..À.   
 000005F0: 03 03 03 01 03 03 03 01 03 03 03 01 03 03 83 BF               ƒ¿
 00000600: 14 40 00 80 10 00 00 00 04 00 00 00 FF FF FF 00  @.€ ... ...ÿÿÿ.
 00000610: 46 00 00 00 50 00 00 00 44 00 00 00 45 4D 46 2B F...P...D...EMF+
 00000620: 08 40 01 02 30 00 00 00 24 00 00 00 02 10 C0 DB  @  0...$...  ÀÛ
 00000630: 00 00 00 00 80 00 00 00 02 00 00 00 00 00 80 3F ....€... .....€?
 00000640: 00 00 00 00 02 10 C0 DB 00 00 00 00 00 00 00 FF ....  ÀÛ.......ÿ
 00000650: 15 40 00 00 10 00 00 00 04 00 00 00 01 00 00 00  @.. ... ... ...
 00000660: 22 00 00 00 0C 00 00 00 FF FF FF FF 22 00 00 00 ".......ÿÿÿÿ"...
 00000670: 0C 00 00 00 FF FF FF FF 25 00 00 00 0C 00 00 00 ....ÿÿÿÿ%.......
 00000680: 0D 00 00 80 22 00 00 00 0C 00 00 00 FF FF FF FF ...€".......ÿÿÿÿ
 00000690: 21 00 00 00 08 00 00 00 73 00 00 00 0C 00 00 00 !... ...s.......
 000006A0: 00 00 00 00 1C 00 00 00 08 00 00 00 25 00 00 00 .... ... ...%...
 000006B0: 0C 00 00 00 00 00 00 80 25 00 00 00 0C 00 00 00 .......€%.......
 000006C0: 07 00 00 80 25 00 00 00 0C 00 00 00 0E 00 00 80 ..€%..........€
 000006D0: 30 00 00 00 0C 00 00 00 0F 00 00 80 19 00 00 00 0....... ..€ ...
 000006E0: 0C 00 00 00 FF FF FF 00 18 00 00 00 0C 00 00 00 ....ÿÿÿ. .......
 000006F0: 00 00 00 00 12 00 00 00 0C 00 00 00 02 00 00 00 .... ....... ...
 00000700: 13 00 00 00 0C 00 00 00 01 00 00 00 14 00 00 00  ....... ... ...
 00000710: 0C 00 00 00 0D 00 00 00 15 00 00 00 0C 00 00 00 ........ .......
 00000720: 01 00 00 00 16 00 00 00 0C 00 00 00 00 00 00 00  ... ...........
 00000730: 0D 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 .... ...........
 00000740: 3A 00 00 00 0C 00 00 00 0A 00 00 00 1B 00 00 00 :........... ...
 00000750: 10 00 00 00 00 00 00 00 00 00 00 00 23 00 00 00  ...........#...
 00000760: 20 00 00 00 87 C3 81 3F 00 00 00 00 00 00 00 00  ...‡Ã□?........
 00000770: 7A BD 80 3F 00 00 00 80 00 00 00 80 24 00 00 00 z½€?...€...€$...
 00000780: 24 00 00 00 87 C3 81 3F 00 00 00 00 00 00 00 00 $...‡Ã□?........
 00000790: 7A BD 80 3F 00 00 00 80 00 00 00 80 04 00 00 00 z½€?...€...€ ...
 000007A0: 73 00 00 00 0C 00 00 00 00 00 00 00 46 00 00 00 s...........F...
 000007B0: 60 00 00 00 52 00 00 00 47 44 49 43 02 00 00 00 `...R...GDIC ...
 000007C0: 00 00 00 00 00 00 00 00 66 00 00 00 6C 00 00 00 ........f...l...
 000007D0: 1B 00 00 00 41 00 70 00 70 00 4E 00 61 00 6D 00  ...A.p.p.N.a.m.
 000007E0: 65 00 00 00 49 00 6D 00 61 00 67 00 65 00 20 00 e...I.m.a.g.e. .
 000007F0: 44 00 65 00 73 00 63 00 72 00 69 00 70 00 74 00 D.e.s.c.r.i.p.t.
 00000800: 69 00 6F 00 6E 00 00 00 00 00 00 00 23 00 00 00 i.o.n.......#...
 00000810: 20 00 00 00 FF FF 7F 3F 00 00 00 00 00 00 00 00  ...ÿÿ?........
 00000820: FD FF 7F 3F 00 00 00 00 00 00 00 00 24 00 00 00 ýÿ?........$...
 00000830: 24 00 00 00 FF FF 7F 3F 00 00 00 00 00 00 00 00 $...ÿÿ?........
 00000840: FD FF 7F 3F 00 00 00 00 00 00 00 00 04 00 00 00 ýÿ?........ ...
 00000850: 23 00 00 00 20 00 00 00 FF FF 7F 3F 00 00 00 00 #... ...ÿÿ?....
 00000860: 00 00 00 00 FD FF 7F 3F 00 00 00 00 00 00 00 00 ....ýÿ?........
 00000870: 24 00 00 00 24 00 00 00 FF FF 7F 3F 00 00 00 00 $...$...ÿÿ?....
 00000880: 00 00 00 00 FD FF 7F 3F 00 00 00 00 00 00 00 00 ....ýÿ?........
 00000890: 04 00 00 00 23 00 00 00 20 00 00 00 0D 74 DA 3A  ...#... ....tÚ:
 000008A0: 00 00 00 00 00 00 00 00 0C 74 DA 3A 00 00 00 00 .........tÚ:....
 000008B0: 00 00 00 00 24 00 00 00 24 00 00 00 0D 74 DA 3A ....$...$....tÚ:
 000008C0: 00 00 00 00 00 00 00 00 0C 74 DA 3A 00 00 00 00 .........tÚ:....
 000008D0: 00 00 00 00 04 00 00 00 23 00 00 00 20 00 00 00 .... ...#... ...
 000008E0: 92 5F 2C 3E 00 00 00 00 00 00 00 00 E9 51 38 3E '_,>........éQ8>
 000008F0: 00 00 00 00 00 00 00 00 24 00 00 00 24 00 00 00 ........$...$...
 00000900: 92 5F 2C 3E 00 00 00 00 00 00 00 00 E9 51 38 3E '_,>........éQ8>
 00000910: 00 00 00 00 00 00 00 00 04 00 00 00 25 00 00 00 ........ ...%...
 00000920: 0C 00 00 00 05 00 00 80 2C 00 00 00 20 00 00 00 .... ..€,... ...
 00000930: FD FF FF FF FE FF FF FF 4F 02 00 00 50 02 00 00 ýÿÿÿþÿÿÿO ..P ..
 00000940: C8 00 00 00 C8 00 00 00 46 00 00 00 14 00 00 00 È...È...F... ...
 00000950: 08 00 00 00 47 44 49 43 03 00 00 00 22 00 00 00  ...GDIC ..."...
 00000960: 0C 00 00 00 FF FF FF FF 46 00 00 00 54 00 00 00 ....ÿÿÿÿF...T...
 00000970: 48 00 00 00 45 4D 46 2B 29 40 00 00 10 00 00 00 H...EMF+)@.. ...
 00000980: 04 00 00 00 01 00 00 00 26 40 00 00 10 00 00 00  ... ...&@.. ...
 00000990: 04 00 00 00 00 00 00 00 2A 40 00 00 24 00 00 00  .......*@..$...
 000009A0: 18 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00  .....€?........
 000009B0: 00 00 80 3F 00 00 00 00 00 00 00 00 4C 00 00 00 ..€?........L...
 000009C0: 64 00 00 00 FF FF FF FF FF FF FF FF 64 00 00 00 d...ÿÿÿÿÿÿÿÿd...
 000009D0: 6B 00 00 00 FF FF FF FF FF FF FF FF 66 00 00 00 k...ÿÿÿÿÿÿÿÿf...
 000009E0: 6D 00 00 00 29 00 AA 00 00 00 00 00 00 00 00 00 m...).ª.........
 000009F0: 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 80 3F ..€?..........€?
 00000A00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000A10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000A20: 22 00 00 00 0C 00 00 00 FF FF FF FF 46 00 00 00 ".......ÿÿÿÿF...
 00000A30: 1C 00 00 00 10 00 00 00 45 4D 46 2B 02 40 00 00  ... ...EMF+ @..
 00000A40: 0C 00 00 00 00 00 00 00 0E 00 00 00 14 00 00 00 ............ ...
 00000A50: 00 00 00 00 10 00 00 00 14 00 00 00 
  

The sections that follow provide definitions of the header and records that correspond to this metafile. These sections describe each record as it appears in the hexadecimal representation of the example, and the records have been interpreted for the convenience of the reader; however, to reflect the exact order of records in the metafile, some record types appear more than once, and, in some cases, the repeated instances can be identical.