In This Article

IIntraTextSpacerTag Interface

Provides the base requirements for a spacer that can be inserted between two text characters.

public interface IIntraTextSpacerTag : ITag

Properties

Baseline

The baseline of the spacer, which is the distance from the top of the spacer to the text baseline.

double Baseline { get; }

Property Value

double

Remarks

This property can return the height of the spacer to sit the spacer on top of the text baseline.

IsSpacerBefore

Indicates whether the spacer appears before the tagged range.

bool IsSpacerBefore { get; }

Property Value

bool:

true if the spacer appears before the tagged range; otherwise, false.

Key

An object that can be used to uniquely identify the spacer, so that an adornment can be rendered within its bounds.

object? Key { get; }

Property Value

object

Size

The size of the spacer.

Size? Size { get; }

Property Value

Size

Remarks

This must be a fixed size.

Extension Methods