Replace PDF export doesn't work

2 posts, 0 answers
  1. Anand
    Anand avatar
    30 posts
    Member since:
    Jul 2014

    Posted 05 May 2016 Link to this post

    Hi All,

    Pdf export fails when I export to an existing file that contains watermark. 

    Steps to get this issue.

    Say I have a document exported (formatProvider.Export(document, stream);) in to pdf and save it. Open the saved pdf file, add a water mark in the pdf and save it.

    Export the document again, when it prompts for save, point it to the same pdf file that contains water mark and replace the file.It pretends likethe file is exported with the latest content but it fails. 

     On exporting if a new file name is given or pointed to the file that doesn't contain the water mark the content is exported. Could you please suggest is this is a known bug or am I missing some thing ?


  2. Stef
    Stef avatar
    3611 posts

    Posted 09 May 2016 Link to this post

    Hello Anand,

    The provided information seems to be related to Telerik Ui for WPF PdfProcessing libraries and how the file is saved. Please create a check whether the file with the selected name exists before saving the new one. Check also the read/write permission granted to the application.

    Also test if the content of the PDF file e.g. watermarks and other settings cause different behavior on saving the file to as an existing file or to a new file.

    If you need further help, please open a separate thread in the corresponding product's forum. In your post, specify this thread and elaborate how you generate the PDF content and let us know the results of the above suggested tests.

    Thank you for your cooperation.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top