EmfPolyTextOutA
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType
public final class EmfPolyTextOutA extends EmfDrawingRecordType
The EMR_POLYTEXTOUTA record draws one or more ASCII 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_POLYTEXTOUTA SHOULD be emulated with a series of EMR_EXTTEXTOUTW records (section 2.3.5.7), one per string. This requires the ASCII text string in each EmrText object to be converted to Unicode UTF16-LE encoding.
Constructors
Constructor | Description |
---|---|
EmfPolyTextOutA(EmfRecord source) | Initializes a new instance of the EmfPolyTextOutA class. |
EmfPolyTextOutA() | Initializes a new instance of the EmfPolyTextOutA class. |
Methods
Method | Description |
---|---|
getBounds() | Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounding rectangle in device units. |
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. |
getIGraphicsMode() | Gets or sets a 32-bit unsigned integer that specifies the current graphics mode, from the GraphicsMode enumeration (section 2.1.16). |
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). |
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. |
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. |
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. |
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. |
getAEmrText() | Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 8-bit ASCII characters, with text attributes, and spacing values. |
setAEmrText(EmfText[] value) | Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 8-bit ASCII characters, with text attributes, and spacing values. |
EmfPolyTextOutA(EmfRecord source)
public EmfPolyTextOutA(EmfRecord source)
Initializes a new instance of the EmfPolyTextOutA
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
EmfPolyTextOutA()
public EmfPolyTextOutA()
Initializes a new instance of the EmfPolyTextOutA class.
getBounds()
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.
Returns: Rectangle
setBounds(Rectangle value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
getIGraphicsMode()
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).
Returns: int
setIGraphicsMode(int value)
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).
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getExScale()
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.
Returns: float
setExScale(float value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getEyScale()
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.
Returns: float
setEyScale(float value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getAEmrText()
public EmfText[] getAEmrText()
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 8-bit ASCII characters, with text attributes, and spacing values. The number of EmrText objects is specified by cStrings.
Returns: com.aspose.imaging.fileformats.emf.emf.objects.EmfText[]
setAEmrText(EmfText[] value)
public void setAEmrText(EmfText[] value)
Gets or sets an array of EmrText objects (section 2.2.5) that specify the output strings in 8-bit ASCII characters, with text attributes, and spacing values. The number of EmrText objects is specified by cStrings.
Parameters:
Parameter | Type | Description |
---|---|---|
value | EmfText[] |