In This Article

ITextSpacer Interface

Provides the base requirements for an intra-text spacer within an ITextLayout.

public interface ITextSpacer

Properties

Baseline

Gets the spacer's baseline distance.

float Baseline { get; }

Property Value

float:

The spacer's baseline distance.

CharacterIndex

Gets the character index, relative to the original ITextLayout text, at which the spacer occurs.

int CharacterIndex { get; }

Property Value

int:

The character index, relative to the original ITextLayout text, at which the spacer occurs.

Key

Gets an object that uniquely identifies the spacer.

object Key { get; }

Property Value

object:

An object that uniquely identifies the spacer.

Size

Gets the size of the spacer.

Size Size { get; }

Property Value

Size:

The size of the spacer.