GetParagraphRange(Int32) Method

Definition

Assembly Broadside.Viewer.dll

Gets the paragraph around a glyph: lines up to a gap wider than a line, or a change of direction.

public (int Start, int End) GetParagraphRange(int position)

Parameters

position
Int32

A reading position, 0 to Length − 1.

Returns

(T1 Item1, T2 Item2)<Int32, Int32>
The paragraph's first position and the position after its last.