Skip to content

PDFSetTextHorizontalScalingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Tz (set text horizontal scaling) content stream operator.

public class PDFSetTextHorizontalScalingOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetTextHorizontalScalingOperator

Constructors

PDFSetTextHorizontalScalingOperator()

Initializes a new PDFSetTextHorizontalScalingOperator object.

public PDFSetTextHorizontalScalingOperator()

PDFSetTextHorizontalScalingOperator(Double)

Initializes a new PDFSetTextHorizontalScalingOperator object.

public PDFSetTextHorizontalScalingOperator(double horizontalScaling)

Parameters

horizontalScaling Double
The text horizontal scaling.


Properties

Context

Gets the content stream container from which the operator is extracted.

public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.


HorizontalScaling

Gets or sets the text horizontal scaling.

public double HorizontalScaling { get; set; }

Property Value

Double
The text horizontal scaling.


OpCode

Gets the operator code.

public string OpCode { get; }

Property Value

String
The operator code as it is written in the content stream.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.