Download

In this document

Download document through UI

  • The download button is found on the top tool bar when using PDFNetJS.
  • For Office documents there is an option to download the original office file or to download a PDF copy with annotations.

This button is not included by default for Universal WebViewer. You would need to store the original document on your server to be able to download it from WebViewer.

Download document programmatically

To download the file programmatically you can call the downloadFile function:

// download pdf
readerControl.downloadFile({ downloadType: 'pdf' });

// download office
readerControl.downloadFile({ downloadType: 'office' });