We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Dynamic XFA Forms to Standard or Static AcroForm using Aspose.PDF for .NET - format change in output

Hi,

I'm trying to convert the following PDF with XFA forms to Standard AcroForm and Static AcroForm, it successed, but FORMAT of the Output Standard AcroForm "standard2.pdf "and Static AcroForm "static2.pdf" was changed, and the signature fields in the "2.pdf" vanished.
The content of the "2.pdf" is in the language of Chinese, is there a prolem the Aspose.Pdf when deal with Chinese?
The Aspose.Pdf version is 9.9.0.

string dataDir = Path.GetFullPath("C:/Users/tss/Documents/Visual Studio 2010/Projects/Xfa2Stand/Xfa2Stand/bin/Debug/");

Aspose.Pdf.License license = new Aspose.Pdf.License();
FileStream myStream = new FileStream(dataDir + "Aspose.Pdf.lic", FileMode.Open);
license.SetLicense(myStream);

Document document = new Document( dataDir + "2.pdf");

document.Form.Type = FormType.Standard;
document.Save( dataDir + "standard2.pdf");

document.Form.Type = FormType.Static;

document.Save( dataDir + "static2.pdf");
Console.WriteLine("Game over!");

Any help would be appreciated!

Thank you very much.

Best regards,

Hi Tan,


Thanks
for using our API’s.<o:p></o:p>

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-38040. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.

Thanks for your reply!


Best Regards.

Tan