3.2.2.28 EMR_EXTTEXTOUTW Example 6
This section provides an example of an EMF EMR_EXTTEXTOUTW record ([MS-EMF] section 2.3.5.8).
-
00064500: 54 00 00 00 7C 00 00 00 62 03 00 00 00064510:C7 01 00 00 12 04 00 00 0A 02 00 00 01 00 00 00 00064520:47 A2 E1 40 76 84 E1 40 62 03 00 00 FD 01 00 00 00064530:08 00 00 00 4C 00 00 00 04 10 00 00 00 00 00 00 00064540:00 00 00 00 F4 0B 00 00 78 0F 00 00 5C 00 00 00 00064550:70 00 6F 00 72 00 74 00 72 00 61 00 69 00 74 00 00064560:1E 00 00 00 1E 00 00 00 14 00 00 00 11 00 00 00 00064570:14 00 00 00 1B 00 00 00 10 00 00 00 11 00 00 00
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type (0x00000054) |
|||||||||||||||||||||||||||||||
|
Size (0x0000007C) |
|||||||||||||||||||||||||||||||
|
Bounds (0x00000362) |
|||||||||||||||||||||||||||||||
|
... (0x000001C7) |
|||||||||||||||||||||||||||||||
|
... (0x00000412) |
|||||||||||||||||||||||||||||||
|
... (0x0000020A) |
|||||||||||||||||||||||||||||||
|
iGraphicsMode (0x00000001) |
|||||||||||||||||||||||||||||||
|
exScale (0x40E1A247) |
|||||||||||||||||||||||||||||||
|
eyScale (0x40E18476) |
|||||||||||||||||||||||||||||||
|
EmrText (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Type (4 bytes): 0x00000054 identifies the record type as EMR_EXTTEXTOUTW.
Size (4 bytes): 0x0000007C is the size of this record in bytes.
Bounds (16 bytes): 0x00000362, 0x000001C7, 0x00000412, 0x0000020A values are not used.
iGraphicsMode (4 bytes): 0x00000001 specifies the GM_COMPATIBLE graphics mode ([MS-EMF] section 2.1.16).
exScale (4 bytes): 35.260418 specifies the X scale from Page units to .01mm units if the graphics mode is GM_COMPATIBLE.
eyScale (4 bytes): 35.250000 specifies the Y scales from Page units to .01mm units if the graphics mode is GM_COMPATIBLE.
EmrText (variable): An EmrText object ([MS-EMF] section 2.2.5). This is followed by strings and spacing arrays.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Reference (0x00000362) |
|||||||||||||||||||||||||||||||
|
... (0x000001FD) |
|||||||||||||||||||||||||||||||
|
Chars (0x00000008) |
|||||||||||||||||||||||||||||||
|
offString (0x0000004C) |
|||||||||||||||||||||||||||||||
|
Options (0x00001004) |
|||||||||||||||||||||||||||||||
|
Rectangle (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0x00000BF4) |
|||||||||||||||||||||||||||||||
|
... (0x00000F78) |
|||||||||||||||||||||||||||||||
|
offDx (0x0000005C) |
|||||||||||||||||||||||||||||||
|
text ("portrait") |
|||||||||||||||||||||||||||||||
Reference (8 bytes): 0x00000362, 0x000001FD specifies the coordinates of the reference point used to position the string.
Chars (4 bytes): 0x00000008 specifies the number of characters in the string.
offString (4 bytes): 0x0000004C specifies the offset to the string.
Options (4 bytes): 0x00001004 indicates that the rectangle defined in the Rectangle field is used for clipping ([MS-EMF] section 2.1.11).
Rectangle (16 bytes): 0x00000000, 0x00000000, 0x00000BF4, 0x00000F78 defines the clipping rectangle in logical units.
offDx (4 bytes): 0x0000005C specifies the offset to the intercharacter spacing array.
text (4 bytes): "portrait".