[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.CharRange.GetWordAt

GetWordAt Method

GetWordAt(string, int, IgnoreOptions)

Gets the word at a given position in the string.

Declaration
public static CharRange GetWordAt(string text, int pos, IgnoreOptions ignore)
Parameters
Type Name Description
string text

String that contains the text.

int pos

Position where to look for a word.

IgnoreOptions ignore

IgnoreOptions that determines words to ignore.

Returns
Type Description
CharRange

A CharRange object that contains the word at the specified position in the string, or null if there are no more words at the specified position.