1. There is an issue when using FillField with certain PDF documents (some documents work, others dont - I attached one that does not). This document used to work fine with Pdf.Kit but not with the latest version of Pdf (in the new Facades namespace). Here is the code:
var TempForm = new Aspose.Pdf.Facades.Form("c:\\in.pdf", "c:\\out.pdf");
When run with the attached PDF, the out.pdf file cannot be opened (acrobat says "There was an error processing a page. There was a problem reading this document (131)").
2. Another problem (that did not exist in the older Pdf.Kit). I need to simple list all form fields in a PDF. So I use this code:
var TempForm = new Aspose.Pdf.Facades.Form("c:\\in.pdf");
var FieldNames = TempForm.FieldNames;
The problem is that there is no "close" method and no dispose method. I need to delete the file right after this call, but is is locked until my web server closes. This did not occur in the old version ... it allowed me to delete the file right after I called .FieldNames. How do I tell the toolkit to "close" the file? Shouldn't the Form class be disposable to ensure that no files are left with an open lock?