SetWordSpacing

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

public class SetWordSpacing extends TextStateOperator

Class representing Tw operator (set word spacing).

Constructors

ConstructorDescription
SetWordSpacing(int index, ICommand command)
SetWordSpacing(double wordSpacing)Initializes operator.

Methods

MethodDescription
getWordSpacing()Gets the word spacing.
setWordSpacing(double value)Sets the word spacing.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.

SetWordSpacing(int index, ICommand command)

public SetWordSpacing(int index, ICommand command)

Parameters:

ParameterTypeDescription
indexint
commandICommand

SetWordSpacing(double wordSpacing)

public SetWordSpacing(double wordSpacing)

Initializes operator.

Parameters:

ParameterTypeDescription
wordSpacingdoubleWord spacing.

getWordSpacing()

public double getWordSpacing()

Gets the word spacing.

Returns: double - double value

setWordSpacing(double value)

public void setWordSpacing(double value)

Sets the word spacing.

Parameters:

ParameterTypeDescription
valuedoubledouble value

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.