DS Server

DictionaryInfo Object

Object|Introduced in 32.0

Description

Contains the file name and the current "loaded" state of a dictionary. Is needed mainly by GetDictionaryListCallback.

Syntax

{
   fileName: <string>,
   isLoaded: <boolean>
}

Examples

The following example demonstrates DictionaryInfo in a practical document-editing workflow. It contains the file name and the current "loaded" state of a dictionary. Is needed mainly by GetDictionaryListCallback.

function inspectDictionaryInfo(dictionaryInfo) {
    console.log("file name:", dictionaryInfo.fileName);
    console.log("is loaded:", dictionaryInfo.isLoaded);
}

Members

Properties

PropertyDescription
fileNameThe dictionary file name.
isLoadedIndicates whether the dictionary is currently loaded.