When we try to flatten the fields in the attached PDF document, a null reference exception is thrown by Aspose. Is there a problem with the document? Can something be done so that we can flatten the fields in this document?
Repro code:
Dim Document as New Aspose.Pdf.Document(SourceFileName)
Dim Form as New Aspose.Pdf.Facades.Form(Document)
Form.FlattenAllFields() ’ Exception happens on this call
Note: we asked about a similar issue a couple of years ago, which can be found here: Unable to flatten field in PDF document created by Nuance. While we never received any response that the issue was fixed, I tried it out using the latest version of Aspose.Pdf and the issue appears to be resolved. Perhaps a fix for another bug fixed that one as well? Either way, it’s a different issue - that one failed when trying to save the document after flattening the fields, while this one fails while doing the flattening itself.
Thanks for any help you can provide with this.
– Michael Whalen
Hi Michael,
Is there any chance of getting an update on this issue? My clients affected by this are requesting an update, so any information on it would be appreciated. Thanks.
Michael Whalen
Hi Michael,
Our client is again asking if there is any update on this particular issue. Thank you for any information you can provide.
– Michael Whalen
Hi Michael,