Skip to content

# PDFConcatenateMatrixOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the cm (concatenate matrix) content stream operator.

    public class PDFConcatenateMatrixOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFConcatenateMatrixOperator

## Constructors

### PDFConcatenateMatrixOperator()

Initializes a new PDFConcatenateMatrixOperator object.

    public PDFConcatenateMatrixOperator()

### PDFConcatenateMatrixOperator(Double, Double, Double, Double, Double, Double)

Initializes a new PDFConcatenateMatrixOperator object.

    public PDFConcatenateMatrixOperator(double m11, double m12, double m21, double m22, double dx, double dy)

Parameters

`m11` Double
The m11 element of the transformation matrix.

`m12` Double
The m12 element of the transformation matrix.

`m21` Double
The m21 element of the transformation matrix.

`m22` Double
The m22 element of the transformation matrix.

`dx` Double
The dx element of the transformation matrix.

`dy` Double
The dy element of the transformation matrix.

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

### DX

Gets or sets the dx element of the transformation matrix.

    public double DX { get; set; }

Property Value

Double
The dx element of the transformation matrix.

### DY

Gets or sets the dy element of the transformation matrix.

    public double DY { get; set; }

Property Value

Double
The dy element of the transformation matrix.

### M11

Gets or sets the m11 element of the transformation matrix.

    public double M11 { get; set; }

Property Value

Double
The m11 element of the transformation matrix.

### M12

Gets or sets the m12 element of the transformation matrix.

    public double M12 { get; set; }

Property Value

Double
The m12 element of the transformation matrix.

### M21

Gets or sets the m21 element of the transformation matrix.

    public double M21 { get; set; }

Property Value

Double
The m21 element of the transformation matrix.

### M22

Gets or sets the m22 element of the transformation matrix.

    public double M22 { get; set; }

Property Value

Double
Gets or sets the m22 element of the transformation matrix.

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