Skip to content

PDFSetTextRenderingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Tr (set text rendering mode) content stream operator.

public class PDFSetTextRenderingOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetTextRenderingOperator

Constructors

PDFSetTextRenderingOperator()

Initializes a new PDFSetTextRenderingOperator object.

public PDFSetTextRenderingOperator()

PDFSetTextRenderingOperator(Int32)

Initializes a new PDFSetTextRenderingOperator object.

public PDFSetTextRenderingOperator(int textRendering)

Parameters

textRendering Int32
The text rendering.


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.


TextRendering

Gets or sets the text rendering.

public int TextRendering { get; set; }

Property Value

Int32
The text rendering.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.