Customize settings of web document editor
In This Topic
UI-control
WebDocumentEditorJS allows to define DOM-element, which should be used as container for web document editor, and allows to define a collection of UI-elements, which represent the user interface of web document editor.
Here is JavaScript code that demonstrates how to create web document editor with default settings:
// create the default settings for web document editor
var documentEditorSettings = new Vintasoft.Imaging.Office.UI.WebDocumentEditorSettingsJS("documentEditorContainerId", "documentEditorLocalizationId");
// create web document editor
var documentEditor = new Vintasoft.Imaging.Office.UI.WebDocumentEditorJS(documentEditorSettings);
When instance of
WebDocumentEditorSettingsJS class is created, the
WebUiControlJS.get_Items function allows to get a collection of UI-elements, which are presented in web document editor by default. The items collection can be changed by adding/moving/deleting of web document editor.