DS Server

Javascript: TXTextControl.Proofing.removeDictionary Method

Method|Introduced in 32.0

Description

Removes a dictionary from the loaded dictionaries.

Syntax

<void> TXTextControl.Proofing.removeDictionary(<string> fileName)

Parameters

ParameterDescription
fileName

The dictionary file name.

Examples

The following example demonstrates TXTextControl.Proofing.removeDictionary in a practical document-editing workflow. It removes a dictionary from the loaded dictionaries.

function removeDictionary(proofing) {
    proofing.removeDictionary("quarterly-report.docx");
}