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

ConstructorDescription
CdrText()Initializes a new instance of the CdrText class.

Methods

MethodDescription
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:

ParameterTypeDescription
valuejava.lang.Stringthe 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:

ParameterTypeDescription
valuebyte[]

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:

ParameterTypeDescription
valueCdrStyle[]

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:

ParameterTypeDescription
valueintthe style identifier.