Skip to content

# PDFSetTextRiseOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Ts (set text rise) content stream operator.

    public class PDFSetTextRiseOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFSetTextRiseOperator

## Constructors

### PDFSetTextRiseOperator()

Initializes a new PDFSetTextRiseOperator object.

    public PDFSetTextRiseOperator()

### PDFSetTextRiseOperator(Double)

Initializes a new PDFSetTextRiseOperator object.

    public PDFSetTextRiseOperator(double textRise)

Parameters

`textRise` Double
The text rise.

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

### TextRise

Gets or sets the text rise.

    public double TextRise { get; set; }

Property Value

Double
The text rise.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.