PDFsharp-net6

COperator

Namespace: PdfSharp.Pdf.Content.Objects

Represents an operator a PDF content stream.

public class COperator : CObject, System.ICloneable

Inheritance ObjectCObjectCOperator
Implements ICloneable

Properties

Name

Gets or sets the name of the operator

public string Name { get; }

Property Value

String
The name.

Operands

Gets or sets the operands.

public CSequence Operands { get; }

Property Value

CSequence
The operands.

OpCode

Gets the operator description for this instance.

public OpCode OpCode { get; }

Property Value

OpCode

Methods

Clone()

Creates a new object that is a copy of the current instance.

public COperator Clone()

Returns

COperator

Copy()

Implements the copy mechanism of this class.

protected CObject Copy()

Returns

CObject

ToString()

Returns a string that represents the current operator.

public string ToString()

Returns

String

WriteObject(ContentWriter)

internal void WriteObject(ContentWriter writer)

Parameters

writer ContentWriter