Back to API Reference
Enum

RangeHeight

Vertical extent of a range's per-line boxes (the walker's height mode).

public static readonly RangeHeight LineBox = 0

Full line metrics (ascender to descender) — selection-like. The same height selection rects use. With line spacing > 1 this leaves a gap between lines; use LineAdvance for a seamless band.

public static readonly RangeHeight Content = 1

Tight glyph ink extents for content-hugging range geometry.

public static readonly RangeHeight LineAdvance = 2

Full line pitch (advance): each band spans the whole line's vertical stride, so consecutive lines' rects share an edge with no gap — gap-free selection, exactly like a browser highlighting wrapped text.