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 PD…...Convert from xfa to standard corrupts text in the document Aspose...PDFDoc.Form.Type = FormType.Standard If Flatten Then FlattenAnnotations(PDFDoc)...