Skip to content

PDFMoveToOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the m (move to) content stream operator.

public class PDFMoveToOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFMoveToOperator

Constructors

PDFMoveToOperator()

Initializes a new PDFMoveToOperator object.

public PDFMoveToOperator()

PDFMoveToOperator(Double, Double)

Initializes a new PDFMoveToOperator object.

public PDFMoveToOperator(double x, double y)

Parameters

x Double
The X coordinate of the point.

y Double
The Y coordinate of the point.


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.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.


X

Gets or sets the X coordinate of the point.

public double X { get; set; }

Property Value

Double
The X coordinate of the point.


Y

Gets or sets the Y coordinate of the point.

public double Y { get; set; }

Property Value

Double
The Y coordinate of the point.