com.aspose.pdf.operators

Class SetHorizontalTextScaling



  • public class SetHorizontalTextScaling
    extends TextStateOperator

    Class representing Tz operator (set horizontal text scaling).

    • Constructor Detail

      • SetHorizontalTextScaling

        public SetHorizontalTextScaling(int index,
                                        com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • SetHorizontalTextScaling

        public SetHorizontalTextScaling(double horizintalScaling)

        Initializes operator.

        Parameters:
        horizintalScaling - Horizontal scaling.
    • Method Detail

      • getHorizontalScaling

        public double getHorizontalScaling()

        Gets the horizontal scaling.

        Returns:
        double value
      • setHorizontalScaling

        public void setHorizontalScaling(double value)

        Sets the horizontal scaling.

        Parameters:
        value - double value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Overrides:
        accept in class TextOperator
        Parameters:
        visitor - Visitor object.