EmfSmallTextOut
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 EmfSmallTextOut extends EmfDrawingRecordType
The EMR_SMALLTEXTOUT record outputs a string.
If ETO_SMALL_CHARS is set in the fuOptions field, TextString contains 8-bit codes for characters, derived from the low bytes of 16-bit Unicode UTF16-LE character codes, in which the high byte is assumed to be 0. If ETO_NO_RECT is set in the fuOptions field, the Bounds field is not included in the record.
Constructors
Constructor | Description |
---|---|
EmfSmallTextOut(EmfRecord source) | Initializes a new instance of the EmfSmallTextOut class. |
Methods
Method | Description |
---|---|
getX() | Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string. |
setX(int value) | Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string. |
getY() | Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string. |
setY(int value) | Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string. |
getCChars() | Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. |
setCChars(int value) | Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. |
getFuOptions() | Gets or sets a 32-bit unsigned integer specifying the text output options to use. |
setFuOptions(int value) | Gets or sets a 32-bit unsigned integer specifying the text output options to use. |
getIGraphicsMode() | Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16). |
setIGraphicsMode(int value) | Gets or sets a 32-bit unsigned integer specifying the graphics mode, from the GraphicsMode enumeration (section 2.1.16). |
getExScale() | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction. |
setExScale(float value) | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction. |
getEyScale() | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction. |
setEyScale(float value) | Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction. |
getBounds() | Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units. |
setBounds(Rectangle value) | Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units. |
getTextString() | Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field. |
setTextString(String value) | Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field. |
EmfSmallTextOut(EmfRecord source)
public EmfSmallTextOut(EmfRecord source)
Initializes a new instance of the EmfSmallTextOut
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
getX()
public int getX()
Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
Returns: int
setX(int value)
public void setX(int value)
Gets or sets a 32-bit signed integer specifying the x-coordinate of where to place the string.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getY()
public int getY()
Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.
Returns: int
setY(int value)
public void setY(int value)
Gets or sets a 32-bit signed integer specifying the y-coordinate of where to place the string.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getCChars()
public int getCChars()
Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated.
Returns: int
setCChars(int value)
public void setCChars(int value)
Gets or sets a 32-bit unsigned integer specifying the number of 16-bit characters in the string. The string is NOT null-terminated.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFuOptions()
public int getFuOptions()
Gets or sets a 32-bit unsigned integer specifying the text output options to use. These options are specified by one or a combination of values from the ExtTextOutOptions enumeration (section 2.1.11).
Returns: int
setFuOptions(int value)
public void setFuOptions(int value)
Gets or sets a 32-bit unsigned integer specifying the text output options to use. These options are specified by one or a combination of values from the ExtTextOutOptions enumeration (section 2.1.11).
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getIGraphicsMode()
public int getIGraphicsMode()
Gets or sets a 32-bit unsigned integer specifying the 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 specifying the 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 how much to scale the text in the x-direction.
Returns: float
setExScale(float value)
public void setExScale(float value)
Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the x-direction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getEyScale()
public float getEyScale()
Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
Returns: float
setEyScale(float value)
public void setEyScale(float value)
Gets or sets a 32-bit floating-point value that specifies how much to scale the text in the y-direction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getBounds()
public Rectangle getBounds()
Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
Returns: Rectangle
setBounds(Rectangle value)
public void setBounds(Rectangle value)
Gets or sets an optional, 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
getTextString()
public String getTextString()
Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.
Returns: java.lang.String
setTextString(String value)
public void setTextString(String value)
Gets or sets a variable-length string that contains the text string to draw, in either 8-bit or 16-bit character codes, according to the value of the fuOptions field.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |