Skip to content

PDFShowText2Operator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the TJ (show text with position) content stream operator.

public class PDFShowText2Operator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFShowText2Operator

Constructors

PDFShowText2Operator()

Initializes a new PDFShowText2Operator object.

public PDFShowText2Operator()

PDFShowText2Operator(PDFCosArray)

Initializes a new PDFShowText2Operator object.

public PDFShowText2Operator(PDFCosArray text)

Parameters

text PDFCosArray
The text displayed by this operator as a COS array.


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.


Text

Gets or sets the text.

public PDFCosArray Text { get; set; }

Property Value

PDFCosArray
The text displayed by this operator as a COS array.


TextVisualObject

Gets the text painted by this operator.

public PDFTextVisualObject TextVisualObject { get; }

Property Value

PDFTextVisualObject
A PDFTextVisualObject that describes the text painted by this operator.

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.