Skip to content

# PDFSetCharacterSpacingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Tc (set character spacing) content stream operator.

    public class PDFSetCharacterSpacingOperator : PDFContentStreamOperator

Inheritance Object → PDFContentStreamOperator → PDFSetCharacterSpacingOperator

## Constructors

### PDFSetCharacterSpacingOperator()

Initializes a new PDFSetCharacterSpacingOperator object.

    public PDFSetCharacterSpacingOperator()

### PDFSetCharacterSpacingOperator(Double)

Initializes a new PDFSetCharacterSpacingOperator object.

    public PDFSetCharacterSpacingOperator(double characterSpacing)

Parameters

`characterSpacing` Double
The character spacing.

## Properties

### CharacterSpacing

Gets or sets the character spacing.

    public double CharacterSpacing { get; set; }

Property Value

Double
The character spacing.

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

### Type

Gets or sets the operator type.

    public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.