Hi George,
We are sorry for the inconvenience caused.
While testing the scenario with the latest version of Aspose.Pdf for .NET 9.2.1,
we have managed to reproduce the reported issue and logged it in our bug
tracking system as PDFNEWNET-37017 for further investigation and
resolution. We will notify you via this thread as soon as it is resolved.
Please feel free to contact us for
any further assistance.
Best Regards,
The issues you have found earlier (filed as PDFNEWNET-37017) have been fixed in Aspose.Pdf for .NET 9.5.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi George,
As stated above your reported issue has been fixed in Aspose.Pdf for .NET 9.5.0. XFA.SetFieldImage method was added. This method allows to set image for XFA field using DOM approach. Please check sample code snippet as following.
Document doc = new
Document(“doc.pdf”);<o:p></o:p>
FileStream fs = new
FileStream("image.jpg",
FileMode.Open, FileAccess.Read);
doc.Form.XFA.SetFieldImage("form1[0].ImageField1[0]",
fs);
doc.Save("37017-1.pdf");
Please feel free to contact us for any further assistance.
Best Regards,