Starts spell checking the HTML text in a given control.

Namespace:  C1.Win.C1Spell
Assembly:  C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)

Syntax

C#
public void CheckHTMLInControl(
	Control ctrl,
	BadWordDialogEnum dialog
)
Visual Basic (Declaration)
Public Sub CheckHTMLInControl ( _
	ctrl As Control, _
	dialog As BadWordDialogEnum _
)

Parameters

ctrl
Type: System.Windows.Forms..::.Control
Control to check.
dialog
Type: C1.Win.C1Spell..::.BadWordDialogEnum
The BadWordDialogEnum object that represents whether the bad-word dialog will be used and the language that should be used to display it.

Remarks

All text inside the HTML tags will be skipped during spell checking.

Use the LastSpellError property and the SpellError event to find out the occurred errors.

See Also