Hello,
Hi Nir,
Here are two files to demonstrate the problem (inside a ZIP file).
using (Aspose.Pdf.Facades.Form form = new Aspose.Pdf.Facades.Form(sourcePDFFile))
{
//open fdf file.
using (System.IO.FileStream fdfInputStream = new FileStream(sourceFDFFile, FileMode.Open))
{<span style="font-style:italic;color:green;">//import data</span> form.ImportFdf(fdfInputStream); <span style="font-style:italic;color:green;">//close file stream</span> fdfInputStream.Close(); <span style="font-style:italic;color:green;">//save updated document</span> form.FlattenAllFields(); form.Save(destPDFFile); } form.Close(); }</pre></div>
Hi Nir,
Thanks for sharing the source documents. While testing the scenario with the latest version of Aspose.Pdf for .NET 9.4.0, we have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-37209 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.
We are sorry for the inconvenience caused.
Best Regards,
Hello support,
Hi Nir,
What is new?
Hi Nir,
The issues you have found earlier (filed as PDFNEWNET-37209) have been fixed in Aspose.Pdf for .NET 9.8.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Any news here?
Thanks for posting your inquiry.
We are pleased to inform you that earlier logged issue “PDFNET-37209” has been fixed and for your reference, I have also attached an output generated by below code snippet. You may check that the output is fine.
Aspose.Pdf.Facades.Form form = new Aspose.Pdf.Facades.Form();
form.BindPdf(myDir + "999_0058.pdf");
//open fdf file.
System.IO.FileStream fdfInputStream = new FileStream(myDir + "999_0058.fdf", FileMode.Open);
//import data
form.ImportFdf(fdfInputStream);
//close file stream
fdfInputStream.Close();
//save updated document
form.Save(myDir + "37209.pdf");
37209.pdf (35.3 KB)
In case if you are experiencing any other issue(s), please share your sample PDF document along with working code snippet, so that we can test the scenario in our environment and address it accordingly.
Best Regards,
Asad Ali