Version

ShowSpellCheckDialog(IWin32Window,Object) Method

Shows the spell checking dialog for the specified object and returns the System.Windows.Forms.DialogResult of the dialog box.
Syntax
'Declaration
 
Overloads Function ShowSpellCheckDialog( _
   ByVal owner As IWin32Window, _
   ByVal spellCheckTarget As Object _
) As DialogResult
DialogResult ShowSpellCheckDialog( 
   IWin32Window owner,
   object spellCheckTarget
)

Parameters

owner
The top-level object that will own the dialog box.
spellCheckTarget
The object being spell checked. This must be of a type supported by the spell checker.

Return Value

The dialog result of dialog box, or System.Windows.Forms.DialogResult.None if the showing of the dialog was cancelled.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also