Skip to content

# PDFMoveTextPositionOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Td (move text position) content stream operator.

    public class PDFMoveTextPositionOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFMoveTextPositionOperator

## Constructors

### PDFMoveTextPositionOperator()

Initializes a new PDFMoveTextPositionOperator object.

    public PDFMoveTextPositionOperator()

### PDFMoveTextPositionOperator(Double, Double)

Initializes a new PDFMoveTextPositionOperator object.

    public PDFMoveTextPositionOperator(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.