3.2.10 EMR_EXTTEXTOUTW Example
This section provides an example of an EMR_EXTTEXTOUTW record (section 2.3.5.8).
-
00003290: 54 00 00 00 A0 00 00 00 000032A0:00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF 000032B0:01 00 00 00 AB 0A 0D 42 00 00 0D 42 12 00 00 00 000032C0:05 00 00 00 0E 00 00 00 4C 00 00 00 00 00 00 00 000032D0:00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF 000032E0:68 00 00 00 53 00 69 00 6D 00 70 00 6C 00 65 00 000032F0:20 00 53 00 61 00 6D 00 70 00 6C 00 65 00 00 00 00003300:09 00 00 00 03 00 00 00 0B 00 00 00 07 00 00 00 00003310:03 00 00 00 07 00 00 00 04 00 00 00 09 00 00 00 00003320:07 00 00 00 0B 00 00 00 07 00 00 00 03 00 00 00 00003330:07 00 00 00 09 00 00 00
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type (0x00000054) |
|||||||||||||||||||||||||||||||
|
Size (0x000000A0) |
|||||||||||||||||||||||||||||||
|
Bounds (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0xFFFFFFFF) |
|||||||||||||||||||||||||||||||
|
... (0xFFFFFFFF) |
|||||||||||||||||||||||||||||||
|
iGraphicsMode (0x00000001) |
|||||||||||||||||||||||||||||||
|
exScale (35.260418) |
|||||||||||||||||||||||||||||||
|
eyScale (35.250000) |
|||||||||||||||||||||||||||||||
|
aemrtext (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Type (4 bytes): 0x00000054 identifies this record type as EMR_EXTTEXTOUTW.
Size (4 bytes): 0x000000A0 specifies the size of this record in bytes.
Bounds (16 bytes): 0x00000000, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF values are not used.
iGraphicsMode (4 bytes): 0x00000001 specifies the current graphics mode.
exScale (4 bytes): 35.260418 specifies the X scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
eyScale (4 bytes): 35.250000 specifies the Y scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
aemrtext (variable): An array of EmrText objects (section 2.2.5) that specifies the properties of the strings to be output, and where to find the output strings and spacing values.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Reference (0x00000012) |
|||||||||||||||||||||||||||||||
|
... (0x00000005) |
|||||||||||||||||||||||||||||||
|
Chars (0x0000000E) |
|||||||||||||||||||||||||||||||
|
offString (0x0000004C) |
|||||||||||||||||||||||||||||||
|
Options (0x00000000) |
|||||||||||||||||||||||||||||||
|
Rectangle (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0x00000000) |
|||||||||||||||||||||||||||||||
|
... (0xFFFFFFFF) |
|||||||||||||||||||||||||||||||
|
... (0xFFFFFFFF) |
|||||||||||||||||||||||||||||||
|
offDx (0x00000068) |
|||||||||||||||||||||||||||||||
|
text ("Simple Sample") |
|||||||||||||||||||||||||||||||
Reference (8 bytes): 0x00000012, 0x00000005 specify the coordinates of the reference point used to position the string.
Chars (4 bytes): 0x0000000E specifies the number of characters in the string.
offString (4 bytes): 0x0000004C specifies the offset to the string in bytes, from the start of the EMR_EXTTEXTOUTW record.
Options (4 bytes): 0x00000000 specifies that the Rectangle field is not used.
Rectangle (16 bytes): 0x00000000, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF values are not used.
offDx (4 bytes): 0x00000068 specifies the offset to an intercharacter spacing array in bytes, from the start of the EMR_EXTTEXTOUTW record.
text (4 bytes): "Simple Sample".