[]
Shows a spell-checking dialog for an editor control.
public void CheckControlAsync(object editor, bool fromCursor, ISpellDialog dlg)
Type | Name | Description |
---|---|---|
object | editor | Object that contains the text to be spell-checked. |
bool | fromCursor | Whether to check only from the cursor position or the entire control contents. |
ISpellDialog | dlg | Dialog that implements the ISpellDialog interface used for displaying and correcting errors. |
In order to be spell-checkable, the editor
must be a
TextBox, C1RichTextBox, or an object that implements the
ISpellCheckableEditor interface. Other objects are invalid and will
cause this method to throw an exception.
Shows a spell-checking dialog for an editor control.
public void CheckControlAsync(object editor)
Type | Name | Description |
---|---|---|
object | editor | Object that contains the text to be spell-checked. |
In order to be spell-checkable, the editor
must be a
TextBox, C1RichTextBox, or an object that implements the
ISpellCheckableEditor interface. Other objects are invalid and will
cause this method to throw an exception.
Shows a spell-checking dialog for an editor control.
public void CheckControlAsync(object editor, bool fromCursor)
Type | Name | Description |
---|---|---|
object | editor | Object that contains the text to be spell-checked. |
bool | fromCursor | Whether to check only from the cursor position or the entire control contents. |
In order to be spell-checkable, the editor
must be a
TextBox, C1RichTextBox, or an object that implements the
ISpellCheckableEditor interface. Other objects are invalid and will
cause this method to throw an exception.