Description
Return the number of spell checking errors in the current article.
Available in Ted and Fred.
Syntax
Dim lng as Long = object.GetSpellErrorNum(strLanguage) |
object
Required. Object name. Returned by Ted.GetActiveArticle, or Fred.GetActiveArticle
strLanguage
Required. String. Language name, eg. "English".
Example
This script returns the number of spell errors in all elements of the current article, using the spell checker defined as "English".
If Ted.HasActiveArticle Then
dim objArticle = Ted.GetActiveArticle
msgbox (objArticle.GetSpellErrorNum("English"))
End If
See also