Hello,
i try to flat a XFA form to convert the PDF file to Tiff with ghostscript.
I've try this code
License lic = new License();
lic.SetLicense(@"C:\temp\Aspose.Pdf.lic");
var pdfDocument = new Document(pdfFilePath);
pdfDocument.Flatten();
pdfDocument.Form.Type = FormType.Standard;
pdfDocument.Save(destinationPDFDataFilePath);
When i run this code I've a PDF file that can I convert to Tiff, but all values from TextBoxes are not any more present.
Is there a way to automaticly copy the values from the XFA Fields in the Acro Fields?
As attachment my source PDF file, an my result PDF file.