SpellCheckDialog Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Invokes the built-in dialog box for correcting misspelled words. The dialog steps through all misspelled words in the current document. It begins with the main text following by all headers, footers and textframes. This dialog is only available when a spell checking component has been connected with the SpellChecker property.
Syntax
SpellCheckDialog()
Invokes the built-in dialog box for correcting misspelled words.
public void SpellCheckDialog();Public Sub SpellCheckDialog()SpellCheckDialog(object)
Invokes the built-in dialog box for correcting misspelled words using the specified dictionary for making suggestions.
public void SpellCheckDialog(object suggestionDictionary);Public Sub SpellCheckDialog(suggestionDictionary As Object)| Parameter | Description |
|---|---|
| suggestionDictionary | Specifies the dictionary used for making suggestions. This parameter is only useful, if more than one dictionary has been added to the spellchecker. |
Examples
The following example opens the spell check dialog for the text control. The created object is then available to the surrounding document workflow.
textControl.SpellCheckDialog("Approved");
Console.WriteLine("Text Control is ready for use.");textControl.SpellCheckDialog("Approved")
Console.WriteLine("Text Control is ready for use.")