Skip to content

# PDFDefineMarkedContentOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the MP (define marked-content point) content stream operator.

    public class PDFDefineMarkedContentOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFDefineMarkedContentOperator

## Constructors

### PDFDefineMarkedContentOperator()

Initializes a new PDFDefineMarkedContentOperator object.

    public PDFDefineMarkedContentOperator()

### PDFDefineMarkedContentOperator(PDFCosName)

Initializes a new PDFDefineMarkedContentOperator object.

    public PDFDefineMarkedContentOperator(PDFCosName tag)

Parameters

`tag` PDFCosName
The sequence tag.

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

### Tag

Gets or sets the tag.

    public PDFCosName Tag { get; set; }

Property Value

PDFCosName
A name object indicating the role or significance of the marked content sequence.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.