<button onclick="save"> save</button>
function save() {
var pdfviewer = document.getElementById('pdfviewer').ej2_instances[0];
pdfviewer.download();
} |
Query |
Details |
Can we modify the original file? |
In our pdf viewer, currently, we do not have the autosave option for modifying the original file. However, we can save the modified file by using the download icon in the toolbar or by using the download() method in code behind for saving the file in any local disk and then retrieve the saved file.
|
Is there a way to save and retrieve the annotations in vue pdf viewer? |
We can save and retrieve the annotations by using exportAnnotations() for saving the changes in any local disk and import the saved annotation data using importAnnotations(importData) method.
Please find the sample for your reference.
|