getAvailableSymbolCollections Method

Description

Gets a symbol collection definition for the current product.

Syntax

.getAvailableSymbolCollections(/* Function */ resultFunction)

Parameters

resultFunction: Function

A function that accepts a single parameter. This function will be called after the symbol collection definition has been retrieved. This parameter will contain an array of objects each of which defines a symbol collection. Each object will contain the collection's unique id and a localized caption.

Returns

Nothing

Example

editor = new ESDWeb(null, 'editorNode');

/* set editor properties here */

editor.startup();

editor.getAvailableSymbolCollections(function (result) {
  result.forEach(function (collection) {
    console.log(collection.id);
    console.log(collection.description);
  };
});