I am evaluating ASP.PDF.Kit for .Net for our project. When trying to flattenall fields, I get error ‘Wrong type parameter supplied to a PDS procedure’ I had created my PDF template in Acrobat Designer 7. After I click Ok on the error the PDf is opening fine. Can you confirm why I get this error? And how to resolve. This is key for us before we can proceed with the deciision to procure this product
Thank you very much for considering Aspose.
Can you please share the code snippet and the related documents? This will help us reproduce the issue at our end and investigate it in detail.
We really appreciate your patience and cooperation.
Here is the code
public class Class1
public static void Main(string args)
//license As New Aspose.Pdf.Form.License
//License license = new License();
//Make sure that the license file's direcotry and name is right.
//First an input and output pdf file should be assigned and
//make sure that the files' direcotry and name is right.
Form form = new Form("EPA-Template.pdf", "output.pdf");
form.FillField("txtCustomerName", "Sreedevi Ranganathan");
I have tested the issue at my end and found the same problem. I have logged this issue as PDFKITNET-8663 in our bug tracking system. Our development team will be looking into the matter, and you'll be updated the earliest possible.
We're sorry for the inconvenience.