CdrText
Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.fileformats.cdr.objects.CdrObject, com.aspose.imaging.fileformats.cdr.objects.CdrDictionaryItem
public class CdrText extends CdrDictionaryItem
The cdr text
Constructors
Constructor | Description |
---|---|
CdrText() | Initializes a new instance of the CdrText class. |
Methods
Method | Description |
---|---|
getText() | Gets the CDR text boxes. |
setText(String value) | Sets the CDR text boxes. |
getCharDescriptors() | Initializes a new instance of the CdrText class. |
setCharDescriptors(byte[] value) | Initializes a new instance of the CdrText class. |
getStyles() | Adds the text box. |
setStyles(CdrStyle[] value) | Adds the text box. |
getStyleId() | Gets the style identifier. |
setStyleId(int value) | Sets the style identifier. |
CdrText()
public CdrText()
Initializes a new instance of the CdrText class.
getText()
public final String getText()
Gets the CDR text boxes.
Value: The CDR text boxes.
Returns: java.lang.String - the CDR text boxes.
setText(String value)
public final void setText(String value)
Sets the CDR text boxes.
Value: The CDR text boxes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the CDR text boxes. |
getCharDescriptors()
public final byte[] getCharDescriptors()
Initializes a new instance of the CdrText class.
Value: The character descriptors.
Returns: byte[]
setCharDescriptors(byte[] value)
public final void setCharDescriptors(byte[] value)
Initializes a new instance of the CdrText class.
Value: The character descriptors.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
getStyles()
public final CdrStyle[] getStyles()
Adds the text box.
Value: The styles.
Returns: com.aspose.imaging.fileformats.cdr.objects.CdrStyle[]
setStyles(CdrStyle[] value)
public final void setStyles(CdrStyle[] value)
Adds the text box.
Value: The styles.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CdrStyle[] |
getStyleId()
public final int getStyleId()
Gets the style identifier.
Value: The style identifier.
Returns: int - the style identifier.
setStyleId(int value)
public final void setStyleId(int value)
Sets the style identifier.
Value: The style identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the style identifier. |