Skip to content

# PDFMoveTextPositionSetLeadingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the TD (move text position and set leading) content stream operator.

    public class PDFMoveTextPositionSetLeadingOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFMoveTextPositionSetLeadingOperator

## Constructors

### PDFMoveTextPositionSetLeadingOperator()

Initializes a new PDFMoveTextPositionSetLeadingOperator object.

    public PDFMoveTextPositionSetLeadingOperator()

### PDFMoveTextPositionSetLeadingOperator(Double, Double)

Initializes a new PDFMoveTextPositionSetLeadingOperator object.

    public PDFMoveTextPositionSetLeadingOperator(double tx, double ty)

Parameters

`tx` Double
The X offset.

`ty` Double
The Y offset.

## 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.

### OpCode

Gets the operator code.

    public string OpCode { get; }

Property Value

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

### TX

Gets or sets the X offset.

    public double TX { get; set; }

Property Value

Double
The X offset.

### TY

Gets or sets the Y offset.

    public double TY { get; set; }

Property Value

Double
The Y offset.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.