SetTextLeading

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

ConstructorDescription
SetTextLeading(int index, ICommand command)
SetTextLeading(double leading)Constructor for text leadign operator.

Methods

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

ParameterTypeDescription
indexint
commandICommand

SetTextLeading(double leading)

public SetTextLeading(double leading)

Constructor for text leadign operator.

Parameters:

ParameterTypeDescription
leadingdoubleText 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:

ParameterTypeDescription
valuedoubledouble 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.