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. Image for the cookie policy date

Save pdf file when annotation finish

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?

5 Replies

AS Aravinth Sampath Syncfusion Team August 26, 2016 01:44 PM UTC

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 

PR priscillia August 27, 2016 12:01 PM UTC

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.

AS Aravinth Sampath Syncfusion Team August 29, 2016 12:21 PM UTC

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

PR priscillia September 1, 2016 02:48 AM UTC

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)

AS Aravinth Sampath Syncfusion Team September 1, 2016 01:31 PM UTC

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 

Live Chat Icon For mobile
Up arrow icon