I have a PDF document which has interactive form fields in it. When I try to convert to PDFA the conversion process completes successfully but when I check for PDFA compliancy it is not PDFA. Document is attached here Admissions Application (6).pdf (121.8 KB)
I am using Aspose.PDF, Version=22.214.171.124
My code for conversion to PDFA is as below.
Aspose.Pdf.Document PdfDocument = new Aspose.Pdf.Document(GetExtendedFilePath(InputFileName));
using (FileStream CompressedFileStream = new FileStream(tempfile, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None))
PdfDocument.Info.ModDate = DateTime.Now;
PdfDocument.Convert(new MemoryStream(), PdfFormat.PDF_A_2A, ConvertErrorAction.Delete);
OutputFileBytes = new byte[CompressedFileStream.Length];
CompressedFileStream.Read(OutputFileBytes, 0, (int)CompressedFileStream.Length);
Your help is appriciated.