VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
In This Topic
    VintaSoft Imaging .NET SDK: API changes in version 10.1
    In This Topic

    Important changes in Vintasoft JavaScript API

    Now Vintasoft JavaScript API does not depend from jQuery library and is fully written on JS5.

    Now WebUiElementJS.get_DomElement function returns DOM-element that represents UI element. In version 10.0 and earlier the function returned jQuery element that wrapped the DOM-element.

    Now Vintasoft JavaScript API raises event using Vintasoft.Shared.triggerEvent function. In version 10.0 and earlier the API raised event using "trigger" function from jQuery.

    Now Vintasoft.Shared.subscribeToEvent and Vintasoft.Shared.subscribeToEventOnce functions should be used if it is necessary to subscribe to the event that is generated by class from Vintasoft JavaScript API. In version 10.0 and earlier the "on" and "one" functions from jQuery were used for subscription to the event.

    Now Vintasoft.Shared.unsubscribeFromEvent function should be used if it is necessary to unsubscribe from the event that is generated by class from Vintasoft JavaScript API. In version 10.0 and earlier the "off" function from jQuery was used for unsubscription to the event.





    API changes in Vintasoft.Shared.js

    Now Vintasoft.Shared.js does not depend from jQuery library and is fully written on JS5.





    API changes in Vintasoft.Imaging.Html5.js

    Now Vintasoft.Imaging.Html5.js does not depend from jQuery library and is fully written on JS5.





    API changes in Vintasoft.Imaging.Svg.js

    Support of Vintasoft.Imaging.Svg.js is ended. Please use Vintasoft.Imaging.Html5.js file instead of Vintasoft.Imaging.Svg.js file.





    API changes in Vintasoft.Imaging.DocumentViewer.js

    Now Vintasoft.Imaging.DocumentViewer.js does not depend from jQuery library and is fully written on JS5.


    Moved classes:

    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebUiDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebUiDocumentPasswordDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebImageSelectionDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebPdfRedactionMarkAppearanceDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebPrintImagesDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebRotateImageWithAnnotationsDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebThumbnailViewerSettingsDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebTwainDeviceCapabilitiesDialogJS A web UI dialog that allows to work with TWAIN device capabilities.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.WebTwainDeviceSelectionDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js file.


    Moved and renamed classes:

    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebUiDocumentPasswordJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebUiDocumentPasswordDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebImageSelectionJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebImageSelectionDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebPdfRedactionMarkAppearanceJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebPdfRedactionMarkAppearanceDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebPrintImagesJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebPrintImagesDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebRotateImageWithAnnotationsJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebRotateImageWithAnnotationsDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebThumbnailViewerSettingsJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebThumbnailViewerSettingsDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebTwainDeviceCapabilitiesJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebTwainDeviceCapabilitiesDialogJS.
    public class Vintasoft.Imaging.DocumentViewer.Dialogs.jQuery.WebTwainDeviceSelectionJqueryDialogJS Class moved to the Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js file and renamed to Vintasoft.Imaging.DocumentViewer.Dialogs.WebTwainDeviceSelectionDialogJS.


    Removed classes:

    public class Vintasoft.Imaging.DocumentViewer.UIElements.WebUiCheckboxWithLabelJS Use the Vintasoft.Imaging.DocumentViewer.UIElements.WebUiCheckboxInputJS and Vintasoft.Imaging.DocumentViewer.UIElements.WebUiLabelElementJS controls instead of Vintasoft.Imaging.DocumentViewer.UIElements.WebUiCheckboxWithLabelJS control.
    public class Vintasoft.Imaging.DocumentViewer.UIElements.WebUiRadioWithLabelJS Use the Vintasoft.Imaging.DocumentViewer.UIElements.WebUiRadioInputJS and Vintasoft.Imaging.DocumentViewer.UIElements.WebUiLabelElementJS controls instead of Vintasoft.Imaging.DocumentViewer.UIElements.WebUiCheckboxWithLabelJS control.


    Changed classes:

    Vintasoft.Imaging.DocumentViewer.WebDocumentViewerJS
    Changed methods
    public object authenticateFile(string) public object authenticateFile(string, string, object, object)
    Removed methods
    public object authenticateAndOpenFile(string) Use the authenticateFile method instead.
    Added events
    public event (object event, { string fileId, string filePassword }) fileAuthenticationRequest Occurs when file must be authenticated.
    Changed events
    public event (object event, { string id, object val }) localize public event (object event, { string id, object val }) localizationRequest
    Removed events
    public event (object event, { string fileId }) fileAuthorizationFailed Use the fileAuthenticationRequest event instead.
    public event (object event, { string fileId, string filePassword }) fileAuthorized Use the fileAuthenticationRequest event instead.


    Vintasoft.Imaging.DocumentViewer.UIElements.WebUiDialogButtonJS
    Added events
    public event (object event, { object dialog }) createDialog Occurs when dialog must be created.





    New JavaScript-module Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js

    New JavaScript-module Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js contains JavaScript dialogs (password dialog, print dialog, etc) for VintaSoft Web Document Viewer.
    Vintasoft.Imaging.DocumentViewer.Dialogs.Simple.js must be used together with Vintasoft.Imaging.DocumentViewer.js file.





    New JavaScript-module Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js

    New JavaScript-module Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js contains jQuery UI dialogs (password dialog, print dialog, etc) for VintaSoft Web Document Viewer.
    Vintasoft.Imaging.DocumentViewer.Dialogs.jQueryUI.js must be used together with Vintasoft.Imaging.DocumentViewer.js file.