ShowText
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of operator. |
| command | ICommand | Operator command. |
ShowText(int index, String text)
public ShowText(int index, String text)
Initializes Tj opearor.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of operator in operators list. |
| text | java.lang.String | argument of the operator. |
ShowText(String text)
public ShowText(String text)
Initializes Tj operator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| text | java.lang.String | argument of the operator. |
ShowText(String text, Font font)
public ShowText(String text, Font font)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| text | java.lang.String | |
| font | Font |
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:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | String value |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Produces text code of operator.
Returns: java.lang.String - Text representation of operator.