Spelling.GetWordIndexFromTextIndex Method

NetSpell.SpellChecker

NetSpell Documentation - v.2.1.7

Spelling.GetWordIndexFromTextIndex Method 

Gets the word index from the text index. Use this method to find a word based on the text position.

[Visual Basic]Public Function GetWordIndexFromTextIndex( _
   ByVal textIndex As Integer _
) As Integer
[C#]
public int GetWordIndexFromTextIndex(
   int textIndex
);

Parameters

textIndex

The index to search for

Return Value

The word index that the text index falls on

See Also

Spelling Class | NetSpell.SpellChecker Namespace