SetTextLeading
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator, com.aspose.pdf.operators.TextStateOperator
public class SetTextLeading extends TextStateOperator
Class represenging TL operator (set text leading).
Constructors
Constructor | Description |
---|---|
SetTextLeading(int index, ICommand command) | |
SetTextLeading(double leading) | Constructor for text leadign operator. |
Methods
Method | Description |
---|---|
getLeading() | Gets the text leading. |
setLeading(double value) | Sets the text leading. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toString() | Produces text code of operator. |
SetTextLeading(int index, ICommand command)
public SetTextLeading(int index, ICommand command)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
command | ICommand |
SetTextLeading(double leading)
public SetTextLeading(double leading)
Constructor for text leadign operator.
Parameters:
Parameter | Type | Description |
---|---|---|
leading | double | Text leading. |
getLeading()
public double getLeading()
Gets the text leading.
Returns: double - double value
setLeading(double value)
public void setLeading(double value)
Sets the text leading.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double 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.