VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
In This Topic
    "Standard" dialogs, which are used in Web Document Viewer UI
    In This Topic
    By default the Web Document Viewer uses the following "standard" dialogs:



    1. "Standard" dialogs, which are based on Bootstrap

    Ready-to-use "standard" dialogs, which are based on Bootstrap, are stored in Vintasoft.Imaging.DocumentViewer.Dialogs.Bootstrap.js file.
    If "standard" Bootstrap dialogs must be used in web document viewer, web application must have:

    Dialog appearance can be customized using Bootstrap CSS.

    Here is screenshot of "standard" "Password dialog", which is based on Bootstrap:
    'Standard' Bootstrap password dialog for Vintasoft Web Document Viewer



    2. "Standard" dialogs, which are based on jQuery UI

    Ready-to-use "standard" dialogs, which are based on jQuery UI, are stored in Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file.
    If "standard" jQueryUI dialogs must be used in web document viewer, web application must have:

    Dialog appearance can be customized using jQuery UI CSS.

    Here is screenshot of "standard" "Password dialog", which is based on jQuery UI:
    'Standard' jQuery UI password dialog for Vintasoft Web Document Viewer



    3. Custom "standard" dialogs

    If ready-to-use "standard" Bootstrap and jQuery UI dialogs are not suitable for your UI or task, it is possible to use custom "standard" dialogs in web document viewer.

    If it is necessary to create custom dialog for another UI library, it is recommended to create dialog as a wrapper around ready-to-use UI panel (WebUiDocumentPasswordDialogJS, WebPrintImagesDialogJS, WebImageViewerSettingsDialogJS, WebThumbnailViewerSettingsDialogJS, WebRotateImageWithAnnotationsDialogJS, WebPdfRedactionMarkAppearanceDialogJS, WebImageSelectionDialogJS). In this case it is not necessary to implement logic, which is related with dialog (for example, print images) because panel already contains all necessary logic.

    Also it is possible to create "custom" dialog from scratch but in this case it is necessary to implement dialog UI and logic.


    3.1. Custom "standard" dialog for image printing

    If custom "standard" dialog for image printing must be used, the following steps must be done:

    3.2. Custom "standard" dialog for thumbnail viewer settings

    If custom "standard" dialog for thumbnail viewer settings must be used, the following steps must be done:

    3.3. Custom "standard" dialog for rotating image with annotations

    If custom "standard" dialog for rotating image with annotations must be used, the following steps can be done:

    3.4. Custom "standard" dialog for PDF redaction mark appearance

    If custom "standard" dialog for PDF redaction mark appearance must be used, the following steps can be done: