TextShowOperator

Inheritance: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator

public class TextShowOperator extends TextOperator

Abstract base class for all operators which used to out text (Tj, TJ, etc).

Constructors

ConstructorDescription
TextShowOperator(int index, ICommand command)Constructor for operator class.
TextShowOperator()Constructor for new TextShowOperator.
TextShowOperator(TextProperties textProperties)Constructor for TextShowOperator which allows to pass TextProperties.

Methods

MethodDescription
getText()Gets text which operator out on the page.
setText(String value)Sets text which operator out on the page.

TextShowOperator(int index, ICommand command)

public TextShowOperator(int index, ICommand command)

Constructor for operator class.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

TextShowOperator()

public TextShowOperator()

Constructor for new TextShowOperator.

TextShowOperator(TextProperties textProperties)

public TextShowOperator(TextProperties textProperties)

Constructor for TextShowOperator which allows to pass TextProperties.

Parameters:

ParameterTypeDescription
textPropertiesTextPropertiesText properties.

getText()

public String getText()

Gets text which operator out on the page.

Returns: java.lang.String - String value

setText(String value)

public void setText(String value)

Sets text which operator out on the page.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value