Javascript: TXTextControl.Proofing.removeWordFromUserDictionary Method
Description
Removes a word from an existing user dictionary.
Syntax
<void> TXTextControl.Proofing.removeWordFromUserDictionary(<string> name, <string[]> words)Parameters
| Parameter | Description |
|---|---|
| name | The user dictionary's name. |
| words | The word to remove from the user dictionary. |
Examples
The following example demonstrates TXTextControl.Proofing.removeWordFromUserDictionary in a practical document-editing workflow. It removes a word from an existing user dictionary.
function removeWordFromUserDictionary(proofing) {
proofing.removeWordFromUserDictionary("QuarterlyReport", ["Quarterly report", "Invoice"]);
}