DS Server

Javascript: TXTextControl.Proofing.removeWordFromUserDictionary Method

Method|Introduced in 25.0

Description

Removes a word from an existing user dictionary.

Syntax

<void> TXTextControl.Proofing.removeWordFromUserDictionary(<string> name, <string[]> words)

Parameters

ParameterDescription
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"]);
}