Starts spell checking the given HTML string.
Namespace:
C1.Win.C1SpellAssembly: C1.Win.C1Spell.2 (in C1.Win.C1Spell.2.dll)
Syntax
C# |
---|
public string CheckHTMLString( string htmlStr, BadWordDialogEnum dialog, bool ignoreWithNumbers, bool ignoreInUpperCase, bool ignoreInMixedCase ) |
Visual Basic (Declaration) |
---|
Public Function CheckHTMLString ( _ htmlStr As String, _ dialog As BadWordDialogEnum, _ ignoreWithNumbers As Boolean, _ ignoreInUpperCase As Boolean, _ ignoreInMixedCase As Boolean _ ) As String |
Parameters
- htmlStr
- Type: System..::.String
HTML string 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.
- ignoreWithNumbers
- Type: System..::.Boolean
Value that indicates if words containing numbers are ignored during spell checking.
- ignoreInUpperCase
- Type: System..::.Boolean
Value that indicates if words in all uppercase are ignored during spell checking.
- ignoreInMixedCase
- Type: System..::.Boolean
Value that indicates if words with uppercase characters after lowercase characters are ignored during spell checking.
Return Value
Checked string.
Remarks
Use the LastSpellError property and the SpellError event to find out the occurred errors.
All text inside the HTML tags will be skipped during spell checking.