Shows a spell-checking dialog for a browser, returns the number of spelling errors found.
'Declaration
Public Overloads Function CheckControl( _
ByVal As System.Windows.Forms.WebBrowser, _
ByVal As System.Boolean _
) As System.Integer
public System.int CheckControl(
System.Windows.Forms.WebBrowser ,
System.bool
)
Parameters
- browser
- System.Windows.Forms.WebBrowser control that contains the text to be spell-checked.
- fromCursor
- Whether to check only from the cursor position or the entire control contents.
Return Value
The number of errors found, -1 if the dialog was canceled.