SetCharacterSpacing

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

public class SetCharacterSpacing extends TextStateOperator

Class representing Tc operator (set character spacing).

Constructors

ConstructorDescription
SetCharacterSpacing(int index, ICommand command)Constructor for operator class.
SetCharacterSpacing(double charSpacing)Initializes operator.

Methods

MethodDescription
getCharSpacing()Gets the character spacing.
setCharSpacing(double value)Sets the character spacing.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.

SetCharacterSpacing(int index, ICommand command)

public SetCharacterSpacing(int index, ICommand command)

Constructor for operator class.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

SetCharacterSpacing(double charSpacing)

public SetCharacterSpacing(double charSpacing)

Initializes operator.

Parameters:

ParameterTypeDescription
charSpacingdoubleCharacter spacing.

getCharSpacing()

public double getCharSpacing()

Gets the character spacing.

Returns: double - character spacing.

setCharSpacing(double value)

public void setCharSpacing(double value)

Sets the character spacing.

Parameters:

ParameterTypeDescription
valuedoublecharacter spacing.

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.