Skip to content

# PDFPathPaintingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines a path painting content stream operator.

    public class PDFPathPaintingOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFPathPaintingOperator

## Constructors

### PDFPathPaintingOperator(PDFContentStreamOperatorType)

Initializes a new PDFPathPaintingOperator object.

    public PDFPathPaintingOperator(PDFContentStreamOperatorType operatorType)

Parameters

`operatorType` PDFContentStreamOperatorType
The path painting operator.

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

### PathVisualObject

Gets the path painted by this operator.

    public PDFPathVisualObject PathVisualObject { get; }

Property Value

PDFPathVisualObject
A PDFPathVisualObject object that described the path being painted.

Remarks

This property is set only when the PDFPageTransform.EnableExtendedOperatorInformation property is set to true on the object that processes this operator.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.