Skip to content

# PDFSetRenderingIntentOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the ri (set rendering intent) content stream operator.

    public class PDFSetRenderingIntentOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFSetRenderingIntentOperator

## Constructors

### PDFSetRenderingIntentOperator()

Initializes a new PDFSetRenderingIntentOperator object.

    public PDFSetRenderingIntentOperator()

### PDFSetRenderingIntentOperator(PDFCosName)

Initializes a new PDFSetRenderingIntentOperator object.

    public PDFSetRenderingIntentOperator(PDFCosName renderingIntent)

Parameters

`renderingIntent` PDFCosName
The rendering intent.

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

### RenderingIntent

Gets or sets the rendering intent.

    public PDFCosName RenderingIntent { get; set; }

Property Value

PDFCosName
The rendering intent.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.