PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Form values are lost after document resaving
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3650
Page 1 of 1

Author:  Marat [ Tue Aug 29, 2017 12:02 pm ]
Post subject:  Form values are lost after document resaving

Hi,

I'm using PDFsharp 1.50.4000-beta3b.
When I'm opening and saving pdf document by using PDFSharp form values are lost.

Here is sample project by using which it can be reproduced: https://www.dropbox.com/s/uznvpsgg4f1hz ... rpTest.zip
Here is a PDF document: https://www.dropbox.com/s/uqpc5toz3zks7hi/input.pdf
Here is a PDF document which I received after processing by using PDFSharp: https://www.dropbox.com/s/mm0bw5pywd2sq0f/result.pdf

Code:
Code:
            using (var input = File.Open("input.pdf", FileMode.Open)) {
                using (var pdf = PdfReader.Open(input)) {
                    pdf.Save("result.pdf");
                }
            }

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/