We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Save pdf file when annotation finish

Thread ID:





125580 Aug 25,2016 10:55 PM Sep 1,2016 09:31 AM UWP 5
Tags: SfPdfViewer
Asked On August 25, 2016 10:55 PM

I want to ask, how to save files in a way to replace the pdf file when the user wants to save the pdf file that has been given annotations?

Aravinth Sampath [Syncfusion]
Replied On August 26, 2016 09:44 AM

Hi priscillia, 
We are providing support for loading PDF document as stream, path and loaded document. We are not handling for replacing existing PDF document after including annotation. 
Aravinth S 

Replied On August 27, 2016 08:01 AM

Do syncfusion not plan on develop it? 
My company that i work requires a PDF viewer that can save files in a way to replace the pdf file when the user wants to save the pdf file that has been given annotations.

Aravinth Sampath [Syncfusion]
Replied On August 29, 2016 08:21 AM

Hi Priscillia,

Currently, we do not have support for replacing PDF document after adding annotations in the PDF document using our PDF Viewer control. We have added it to our feature request list to implement the support for the same. This feature will be available in any of our upcoming releases, usually there is a timeline of 3 months between the releases.


Aravinth S

Replied On August 31, 2016 10:48 PM

Is there no way to save the file by way of confirmation to directly save the pdf file that has been given an automatic annotation with the same file name? 

For example:
The pdf file name is A.pdf then after annotation and want to save it, it will confirm to save the file with the file name A.pdf (automatically, without the need to write the file name again)

Aravinth Sampath [Syncfusion]
Replied On September 1, 2016 09:31 AM

Hi Priscillia, 
Thank you for your update, 
The UWP framework has some limitation in editing or overwriting the PDF document saved in the assets directory or in any other location in the machine. We can only get the write permission over the documents in the AppData of the application being deployed. We have provided a sample in the below link which loads a PDF document from the AppData location, in this case the original document can be replaced with the modified document.  
Sample link: 
Document link: 
AppData location: 
Local drive:\Users\User_Name\AppData\Local\Packages\Pakage_Name\LocalState 
Demo video link: 
Note: Place the PDF document in the AppData location to successfully run this sample. 
Please let us know if this is helpful. 
Aravinth S 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.