VintaSoft Imaging .NET SDK 14.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / saveChanges Methods / saveChanges() Property
Syntax Exceptions Remarks Example BrowserCompatibility SeeAlso
saveChanges() Method
Saves changes in a file that was previously opened using the WebDocumentViewerBaseJS.openFile or WebDocumentViewerBaseJS.openFileWithAuthentication function.
Syntax
var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);

var value; // Type: any
value = instance.saveChanges();

Exceptions
ExceptionDescription
Thrown if the web document viewer does not have opened file.
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
                  docViewer1.saveChanges();

Browser Compatibility
56+
45+
11
See Also