PeachDrawing.Text

PeachDrawing.Text.Layout.ParagraphLayout

ParagraphLayout.WordRangeAt(int) Method

The word the character at index is in, as a reader’s double-click would select it (UAX #29).

public PeachDrawing.Text.Layout.TextRange WordRangeAt(int index);

Parameters

index System.Int32

A UTF-16 offset in the text.

Returns

TextRange
The range of the word, or of the space or punctuation between words.