Error when FlattenAllFields

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

Hi Sreedevi,

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.

Regards,

Here is the code

using System;

using Aspose.Pdf.Kit;

namespace formTest

{

public class Class1

{

[STAThread]

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.

//license.SetLicense(@"E:\work\form\VbTest\Aspose.Pdf.Form.lic");

//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("txtDocNumber", "000016596");

form.FillField("txtCustomerName", "Sreedevi Ranganathan");

form.FlattenAllFields();

form.Save();

}

}

}

Hi Sreedevi,

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.

Regards,

The issues you have found earlier (filed as 8663) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.