次の方法で共有


2.3.5.8 EMR_EXTTEXTOUTW Record

The EMR_EXTTEXTOUTW record draws a Unicode text string using the current font and text colors.

Fields not specified in this section are specified in section 2.3.5.


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

Type

Size

Bounds

...

...

...

iGraphicsMode

exScale

eyScale

wEmrText (variable)

...

Type (4 bytes): An unsigned integer that identifies the record type as EMR_EXTTEXTOUTW from the RecordType enumeration (section 2.1.1). This value is 0x00000054.

Bounds (16 bytes): A RectL object ([MS-WMF] section 2.2.2.19). It is not used and MUST be ignored on receipt.

iGraphicsMode (4 bytes): An unsigned integer that specifies the current graphics mode from the GraphicsMode enumeration (section 2.1.16).

exScale (4 bytes): A FLOAT value that specifies the scale factor to apply along the X axis to convert from page space units to .01mm units. This is used only if the graphics mode specified by iGraphicsMode is GM_COMPATIBLE.

eyScale (4 bytes): A FLOAT value that specifies the scale factor to apply along the Y axis to convert from page space units to .01mm units. This is used only if the graphics mode specified by iGraphicsMode is GM_COMPATIBLE.

wEmrText (variable): An EmrText object (section 2.2.5) that specifies the output string in Unicode UTF16-LE characters, with text attributes and spacing values.

The font and text colors used for output are specified by properties in the current state of EMF metafile playback (section 3.1). A rectangle for clipping and/or opaquing can be defined in the EmrText object that is specified in the aEmrText field.

See section 2.3.5 for more drawing record types.