VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
In This Topic
Customize settings of web PDF document editor
In This Topic
UI-control WebPdfDocumentEditorControlJS allows to define DOM-element, which should be used as container for web PDF document editor, and allows to define a collection of UI-elements, which represent the user interface of web PDF document editor.


Here is JavaScript code that demonstrates how to create web PDF document editor with default settings:
// create the default settings for web PDF document editor
var pdfDocumentEditorSettings =
    new Vintasoft.Imaging.Pdf.UI.WebPdfDocumentEditorControlSettingsJS("pdfDocumentEditorContainerId", "pdfDocumentEditorLocalizationId");

// create web PDF document editor
var pdfDocumentEditor = new Vintasoft.Imaging.Pdf.UI.WebPdfDocumentEditorControlJS(pdfDocumentEditorSettings);


When instance of WebPdfDocumentEditorControlSettingsJS class is created, the WebUiControlJS.get_Items function allows to get a collection of UI-elements, which are presented in web PDF document editor by default. The items collection can be changed by adding/moving/deleting of UI-element.