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


    Here is JavaScript code that demonstrates how to create web DICOM viewer with default settings:
    // create the default settings for web DICOM viewer
    var dicomViewerSettings = new Vintasoft.Imaging.Dicom.WebDicomControlSettingsJS("dicomViewerContainerId", "dicomViewerLocalizationId");
    
    // create web DICOM viewer
    var dicomViewer = new Vintasoft.Imaging.Dicom.WebDicomControlJS(dicomViewerSettings);
    


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