EmfText
Inheritance: java.lang.Object, com.aspose.barcode.drawing.emf.objects.XmfObject
public class EmfText extends XmfObject
Constructors
Fields
Field | Description |
---|---|
Chars | A 32-bit unsigned integer that specifies the number of characters in the string |
DxBuffer | Gets or sets the optional character spacing buffer UndefinedSpace2 (variable): An optional number of unused bytes. |
OffDx | A 32-bit unsigned integer that specifies the offset to an inter character spacing array, in bytes, from the start of the record in which this object is contained. |
OffString | A 32-bit unsigned integer that specifies the offset to the output string, in bytes, from the start of the record in which this object is contained. |
Options | A 32-bit unsigned integer that specifies how to use the rectangle specified in the Rectangle field. |
PadBytesCntForStringBuffer | |
Rectangle | An optional WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a clipping and/or opaquing rectangle in logical units. |
Reference | A WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the coordinates of the reference point used to position the string. |
StringBuffer | The character string buffer UndefinedSpace1 (variable): An optional number of unused bytes. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getSize() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
EmfText()
public EmfText()
EmfText(String text, EmfFontObj fontObj, System.Drawing.Point point, int objShift)
public EmfText(String text, EmfFontObj fontObj, System.Drawing.Point point, int objShift)
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | |
fontObj | EmfFontObj | |
point | com.aspose.ms.System.Drawing.Point | |
objShift | int |
EmfText(String text, EmfFontObj fontObj, System.Drawing.Rectangle rect, long textAlignmentMode, int objShift, boolean transparent)
public EmfText(String text, EmfFontObj fontObj, System.Drawing.Rectangle rect, long textAlignmentMode, int objShift, boolean transparent)
Parameters:
Parameter | Type | Description |
---|---|---|
text | java.lang.String | |
fontObj | EmfFontObj | |
rect | com.aspose.ms.System.Drawing.Rectangle | |
textAlignmentMode | long | |
objShift | int | |
transparent | boolean |
Chars
public long Chars
A 32-bit unsigned integer that specifies the number of characters in the string
DxBuffer
public long[] DxBuffer
Gets or sets the optional character spacing buffer UndefinedSpace2 (variable): An optional number of unused bytes. The OutputDx field is not required to follow immediately the preceding portion of this structure. OutputDx (variable): An array of 32-bit unsigned integers that specify the output spacing between the origins of adjacent character cells in logical units. The location of this field is specified by the value of offDx in bytes from the start of this record. If spacing is defined, this field contains the same number of values as characters in the output string. If the Options field of the EmrText object contains the ETO_PDY flag, then this buffer contains twice as many values as there are characters in the output string, one horizontal and one vertical offset for each, in that order. If ETO_RTLREADING is specified, characters are laid right to left instead of left to right. No other options affect the interpretation of this field.
OffDx
public long OffDx
A 32-bit unsigned integer that specifies the offset to an inter character spacing array, in bytes, from the start of the record in which this object is contained. This value MUST be 32-bit aligned.
OffString
public long OffString
A 32-bit unsigned integer that specifies the offset to the output string, in bytes, from the start of the record in which this object is contained. This value MUST be 8- or 16-bit aligned, according to the character format
Options
public long Options
A 32-bit unsigned integer that specifies how to use the rectangle specified in the Rectangle field. This field can be a combination of more than one ExtTextOutOptions enumeration (section 2.1.11) values
PadBytesCntForStringBuffer
public int PadBytesCntForStringBuffer
Rectangle
public WmfRectL Rectangle
An optional WMF RectL object ([MS-WMF] section 2.2.2.19) that defines a clipping and/or opaquing rectangle in logical units. This rectangle is applied to the text output performed by the containing record.
Reference
public WmfPointL Reference
A WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the coordinates of the reference point used to position the string. The reference point is defined by the last EMR_SETTEXTALIGN record (section 2.3.11.25). If no such record has been set, the default alignment is TA_LEFT,TA_TOP.
StringBuffer
public byte[] StringBuffer
The character string buffer UndefinedSpace1 (variable): An optional number of unused bytes. The OutputString field is not required to follow immediately the preceding portion of this structure. OutputString (variable): An array of characters that specify the string to output. The location of this field is specified by the value of offString in bytes from the start of this record. The number of characters is specified by the value of Chars.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getSize()
public int getSize()
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |