SetHorizontalTextScaling

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

public class SetHorizontalTextScaling extends TextStateOperator

Class representing Tz operator (set horizontal text scaling).

Constructors

ConstructorDescription
SetHorizontalTextScaling(int index, ICommand command)Constructor for operator class.
SetHorizontalTextScaling(double horizintalScaling)Initializes operator.

Methods

MethodDescription
getHorizontalScaling()Gets the horizontal scaling.
setHorizontalScaling(double value)Sets the horizontal scaling.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.

SetHorizontalTextScaling(int index, ICommand command)

public SetHorizontalTextScaling(int index, ICommand command)

Constructor for operator class.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

SetHorizontalTextScaling(double horizintalScaling)

public SetHorizontalTextScaling(double horizintalScaling)

Initializes operator.

Parameters:

ParameterTypeDescription
horizintalScalingdoubleHorizontal scaling.

getHorizontalScaling()

public double getHorizontalScaling()

Gets the horizontal scaling.

Returns: double - double value

setHorizontalScaling(double value)

public void setHorizontalScaling(double value)

Sets the horizontal scaling.

Parameters:

ParameterTypeDescription
valuedoubledouble value

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.