TextWord Struct

Definition

One word of extracted text: consecutive glyphs on one line with no gap, white-space glyph or line change between them.

public readonly record struct TextWord : IEquatable<TextWord>

Remarks

ISO 32000-2 §14.8.2.6.2 (identifying word breaks) and §9.4.4 (glyph positions). A word ends at a white-space glyph, at a gap along the baseline wider than a tenth of the font size (from a TJ number or a text positioning operator; character and word spacing are part of the advance and never break a word), and where its line ends. A negative gap (kerning) never breaks a word. Glyphs of consecutive ActualText sequences are not separated by a word break (§14.9.4). White-space glyphs belong to no word.

Members are added as text extraction grows; existing members never change.

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

Properties (5)