Skip to content

PDFSetWordSpacingOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the Tw (set word spacing) content stream operator.

public class PDFSetWordSpacingOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetWordSpacingOperator

Constructors

PDFSetWordSpacingOperator()

Initializes a new PDFSetWordSpacingOperator object.

public PDFSetWordSpacingOperator()

PDFSetWordSpacingOperator(Double)

Initializes a new PDFSetWordSpacingOperator object.

public PDFSetWordSpacingOperator(double wordSpacing)

Parameters

wordSpacing Double
The word spacing.


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.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.


WordSpacing

Gets or sets the word spacing.

public double WordSpacing { get; set; }

Property Value

Double
The word spacing.