lidecao:Dear Aspose supporter:I need to select value from a drop-down list and fill in text fields in XFA pdf file by C#The pdf file is attached.I download the trial version for VS2010 and made a simple test.// Load XFA formAspose.Pdf.Document doc = new Aspose.Pdf.Document("Test.pdf");doc.Save("New.pdf");Issue #1)I opened the existing XFA PDF and save it to "New.pdf"It seems the "New.pdf" is different with "Test.pdf"
Thanks for your considering Aspose. Aspose.Pdf evaluation version has two limitations, evaluation watermark and at most four elements of any collection can be viewed. Please make a request for 30 days temporary license to evaluate our product without any limitation. it will resolve your first issue
We are looking into your other issue and will update you soon..
lidecao:I need to select value from a drop-down list and fill in text fields in XFA pdf file by C#The pdf file is attached.I download the trial version for VS2010 and made a simple test.// Load XFA formAspose.Pdf.Document doc = new Aspose.Pdf.Document(“Test.pdf”);doc.Save(“New.pdf”);Issue #1)I opened the existing XFA PDF and save it to "New.pdf"It seems the “New.pdf” is different with "Test.pdf"Hi Jack,Thanks for your interest in our API’s.I have tested the scenario using latest release of Aspose.Pdf for .NET 11.4.0 and I am unable to notice any issue. As per my observations, the PDF file is properly being generated. However I have noticed that Extended Rights Feature of source file is removed once saved with Aspose.Pdf for .NET. Can you please share some details regarding the issue which you are facing, so that we can test the scenario accordingly. We are sorry for your inconvenience.
Hi Nayyer Shahbaz, thanks for your feedback.
lidecao:Hi Nayyer Shahbaz, thanks for your feedback.For my issue #1) It is still there. After saving to a new PDF file,The drop-down becomes un-selectable and all the editable fields become non-editable.Hi Jack,Thanks for sharing the details.When opening a Dynamic XFA form with our API and then re-saving it, the extended rights feature is lost and form fields become non-editable. However in order to preserve extended rights, please try using incremental approach as specified below.[C#]
load existing file<o:p></o:p>
var pdfDoc = new Aspose.Pdf.Document(new FileStream("c:/pdftest/Test (1) - Copy.PDF", FileMode.OpenOrCreate));
// print page count
// save PDF file to existing loaded instance
Hi Nayyer Shahbaz,
Hi Jack Cao,