Javascript: FormattedText.misspelledWords Property
Description
Gets a collection of all misspelled words.
Syntax
<MisspelledWordCollection> FormattedText.misspelledWordsExamples
The following example demonstrates FormattedText.misspelledWords in a practical document-editing workflow. It gets a collection of all misspelled words.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.textParts.getMainText(function(formattedText) {
formattedText.misspelledWords.getCount(function(count) {
console.log("misspelled words count:", count);
}, onTxError);
}, onTxError);Limitations
Read Only.