please review the attached documents.
code to convert is
Public Sub ConvertXFAtoAcroform(ByVal PDFFilePath As String, ByVal pDestinationFile As String, ByVal Flatten As Boolean, ByVal pProtect As Integer)
Using PDFDoc As New Document(PDFFilePath)
PDFDoc.Form.Type = FormType.Standard
If Flatten Then
FlattenAnnotations(PDFDoc)
End If
PDFDoc.Save(pDestinationFile)
End Using
End Sub
Aspose version is .NET 4.0 ConvertedAndFlattened.pdf (1018.5 KB)
Converted.pdf (1005.1 KB)
Orginal.pdf (299.7 KB)
22.1.0.0