SelectableText Class

Definition

One page's text as a selection sees it: the glyphs of its hit-test index in reading order, each with its box and its logical text (ActualText applied), and the word, line and paragraph boundaries between them. Positions (carets) are offsets 0 to Length between glyphs. Immutable, so safe to share between threads.

public sealed class SelectableText

Remarks

ISO 32000-2 §9.4.4 (glyph positions), §14.8.2.5 (reading order), §14.9.4 (replacement text). Spec #33 viewer capability 4. Every query a pointer move makes (GetOffset(PathPoint), GetGlyphAt(PathPoint), GetQuads(Int32, Int32, Span<Quad>)) allocates nothing.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (3)

Methods (13)