VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / saveChangesAndDownloadFile Methods / saveChangesAndDownloadFile() Property
Syntax Remarks Example BrowserCompatibility SeeAlso
In This Topic
    saveChangesAndDownloadFile() Method
    In This Topic
    Saves changes in a file, which was previously opened using the WebDocumentViewerBaseJS.openFile or WebDocumentViewerBaseJS.openFileWithAuthentication function, and downloads the file.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);
    
    var value; // Type: any
    value = instance.saveChangesAndDownloadFile();
    
    
    function saveChangesAndDownloadFile() : any;
    
    Remarks

    This function saves the following changes: changes (add, remove, swap) in collection of images/pages, changes in annotations, changes in PDF interactive form.

    Example

    ThisJavaScriptcodeshowshowtosavechangesinafile,whichisopenedinwebdocumentviewer:
                      // save changes in a file and download the file
                      docViewer1.saveChangesAndDownloadFile();
    

    Browser Compatibility
    56+
    45+
    11
    See Also