ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.SpellChecker Namespace / C1SpellChecker Class / CheckControl Method / CheckControl(WebBrowser) Method
System.Windows.Forms.WebBrowser control that contains the text to be spell-checked.

In This Topic
    CheckControl(WebBrowser) Method
    In This Topic
    Shows a spell-checking dialog for a browser, returns the number of spelling errors found.
    Syntax
    'Declaration
     
    Public Overloads Function CheckControl( _
       ByVal browser As System.Windows.Forms.WebBrowser _
    ) As System.Integer
    public System.int CheckControl( 
       System.Windows.Forms.WebBrowser browser
    )

    Parameters

    browser
    System.Windows.Forms.WebBrowser control that contains the text to be spell-checked.

    Return Value

    The number of errors found, -1 if the dialog was canceled.
    See Also