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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Save pdf file when annotation finish

Thread ID:

Created:

Updated:

Platform:

Replies:

125580 Aug 26,2016 02:55 AM UTC Sep 1,2016 01:31 PM UTC UWP 5
loading
Tags: SfPdfViewer
priscillia
Asked On August 26, 2016 02:55 AM UTC

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 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. 
 
Regards, 
Aravinth S 


priscillia
Replied On 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.

Aravinth Sampath [Syncfusion]
Replied On 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.


Regards,

Aravinth S
 


priscillia
Replied On 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)

Aravinth Sampath [Syncfusion]
Replied On 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 
Example:  
C:\Users\John\AppData\Local\Packages\4b24d4e8-eaf3-4c50-9336-09da68323145_7s9x03r8y752r\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. 
  
Regards, 
Aravinth S 


CONFIRMATION

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.

Warning Icon 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.Close Icon

;