TX Spell .NET for Windows Forms

Close Method

Method|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Closes the spell check dialog.

Syntax

public void Close();

Examples

The following example uses Close in a focused Spell Check Dialog State Manager workflow. The created object is then available to the surrounding document workflow.

spellCheckDialogStateManager.Close();
Console.WriteLine("Spell Check Dialog State Manager is ready for use.");

Remarks

An exception is thrown, if this method is called by the SpellCheckDialogClosingEventArgs.StateManager property.