public final class EmfPolyTextOutW extends EmfDrawingRecordType
The EMR_POLYTEXTOUTW record draws one or more Unicode text strings using the current font and text colors.
The font and text colors used for output are specified by properties in the current state of the playback device context. EMR_POLYTEXTOUTW SHOULD be emulated with a series of EMR_EXTTEXTOUTW records (section 2.3.5.7), one per string.
Constructor and Description |
---|
EmfPolyTextOutW()
Initializes a new instance of the
EmfPolyTextOutW class. |
EmfPolyTextOutW(EmfRecord source)
Initializes a new instance of the
EmfPolyTextOutW class. |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the
bounding rectangle in device units.
|
float |
getExScale()
Gets or sets a 32-bit floating-point value that specifies the X scale from page units to
.01mm units if graphics mode is GM_COMPATIBLE.
|
float |
getEyScale()
Gets or sets a 32-bit floating-point value that specifies the Y scale from page units to
.01mm units if graphics mode is GM_COMPATIBLE.
|
int |
getIGraphicsMode()
Gets or sets a 32-bit unsigned integer that specifies the current graphics mode,
from the GraphicsMode enumeration (section 2.1.16).
|
EmfText[] |
getWEmrText()
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output
strings in 16-bit Unicode UTF16-LE characters, with text attributes and spacing values.
|
void |
setBounds(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the
bounding rectangle in device units.
|
void |
setExScale(float value)
Gets or sets a 32-bit floating-point value that specifies the X scale from page units to
.01mm units if graphics mode is GM_COMPATIBLE.
|
void |
setEyScale(float value)
Gets or sets a 32-bit floating-point value that specifies the Y scale from page units to
.01mm units if graphics mode is GM_COMPATIBLE.
|
void |
setIGraphicsMode(int value)
Gets or sets a 32-bit unsigned integer that specifies the current graphics mode,
from the GraphicsMode enumeration (section 2.1.16).
|
void |
setWEmrText(EmfText[] value)
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output
strings in 16-bit Unicode UTF16-LE characters, with text attributes and spacing values.
|
public EmfPolyTextOutW(EmfRecord source)
Initializes a new instance of the EmfPolyTextOutW
class.
source
- The source.public EmfPolyTextOutW()
Initializes a new instance of the EmfPolyTextOutW
class.
public Rectangle getBounds()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in device units.
public void setBounds(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in device units.
public int getIGraphicsMode()
Gets or sets a 32-bit unsigned integer that specifies the current graphics mode, from the GraphicsMode enumeration (section 2.1.16).
public void setIGraphicsMode(int value)
Gets or sets a 32-bit unsigned integer that specifies the current graphics mode, from the GraphicsMode enumeration (section 2.1.16).
public float getExScale()
Gets or sets a 32-bit floating-point value that specifies the X scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
public void setExScale(float value)
Gets or sets a 32-bit floating-point value that specifies the X scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
public float getEyScale()
Gets or sets a 32-bit floating-point value that specifies the Y scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
public void setEyScale(float value)
Gets or sets a 32-bit floating-point value that specifies the Y scale from page units to .01mm units if graphics mode is GM_COMPATIBLE.
public EmfText[] getWEmrText()
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 16-bit Unicode UTF16-LE characters, with text attributes and spacing values. The number of EmrText objects is specified by cStrings.
public void setWEmrText(EmfText[] value)
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 16-bit Unicode UTF16-LE characters, with text attributes and spacing values. The number of EmrText objects is specified by cStrings.