GetWordRange(Int32) Method

Definition

Assembly Broadside.Viewer.dll

Gets the word around a glyph: a run of letters and digits, of punctuation, or of white space, on one line.

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

Parameters

position
Int32

A reading position, 0 to Length − 1.

Returns

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

Remarks

A double-click selects it.