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

Free Support Forum - aspose.com

A PDF document with Interactive fields does not convert to PDFA/2A

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=
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.Seek(0, System.IO.SeekOrigin.Begin);
CompressedFileStream.Read(OutputFileBytes, 0, (int)CompressedFileStream.Length);

Your help is appriciated.


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51063. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Bundle of thanks