ShowText

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

public class ShowText extends TextShowOperator

Class representing Tj operator (show text).

Constructors

ConstructorDescription
ShowText(int index, ICommand command)Initializes operator.
ShowText(int index, String text)Initializes Tj opearor.
ShowText(String text)Initializes Tj operator.
ShowText(String text, Font font)
ShowText()Initializes of Tj operator.

Methods

MethodDescription
getText()Gets text of operator.
setText(String value)Set text of operator.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.
toString()Produces text code of operator.

ShowText(int index, ICommand command)

public ShowText(int index, ICommand command)

Initializes operator.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

ShowText(int index, String text)

public ShowText(int index, String text)

Initializes Tj opearor.

Parameters:

ParameterTypeDescription
indexintIndex of operator in operators list.
textjava.lang.Stringargument of the operator.

ShowText(String text)

public ShowText(String text)

Initializes Tj operator.

Parameters:

ParameterTypeDescription
textjava.lang.Stringargument of the operator.

ShowText(String text, Font font)

public ShowText(String text, Font font)

Parameters:

ParameterTypeDescription
textjava.lang.String
fontFont

ShowText()

public ShowText()

Initializes of Tj operator.

getText()

public String getText()

Gets text of operator.

Returns: java.lang.String - String value

setText(String value)

public void setText(String value)

Set text of operator.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.

toString()

public String toString()

Produces text code of operator.

Returns: java.lang.String - Text representation of operator.