Spelling.ReplacedWord Event

NetSpell.SpellChecker

NetSpell Documentation - v.2.1.7

Spelling.ReplacedWord Event

This event is fired when a word is replace

[Visual Basic]Public Event ReplacedWord As ReplacedWordEventHandler
[C#]
public event ReplacedWordEventHandler ReplacedWord;

Event Data

The event handler receives an argument of type ReplaceWordEventArgs containing data related to this event. The following ReplaceWordEventArgs properties provide information specific to this event.

Property Description
ReplacementWord The word to use in replacing the misspelled word
TextIndex Text index of the WordEvent
Word Word that caused the WordEvent
WordIndex Word index of the WordEvent

Remarks

Use this event to update the parent text

See Also

Spelling Class | NetSpell.SpellChecker Namespace