Skip to content

# PDFSetTextLeadingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the TL (set text leading) content stream operator.

    public class PDFSetTextLeadingOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFSetTextLeadingOperator

## Constructors

### PDFSetTextLeadingOperator()

Initializes a new PDFSetTextLeadingOperator object.

    public PDFSetTextLeadingOperator()

### PDFSetTextLeadingOperator(Double)

Initializes a new PDFSetTextLeadingOperator object.

    public PDFSetTextLeadingOperator(double textLeading)

Parameters

`textLeading` Double
The text leading.

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

### TextLeading

Gets or sets the text leading.

    public double TextLeading { get; set; }

Property Value

Double
The text leading.

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.