We are converting WORD document to a PDF/A-3b document.
You can see blue line on the top which states that PDF file is actually complies with PDF/A.
But below we have another message which states that PDF does not identify itself as compliant with any standard?
How to fix this issue?
Thanks for your inquiry. Aspose.Words support PDF 1.5, PDF/A-1a and PDF/A-1b standards compliance level. Could you please share your input document along with code which you are using to convert Word document to Pdf? I will investigate the issue and provide you more information about your query.
doc is Aspose.Words.Document
pdf - is Aspose.Pdf.Document
Save doc to memory stream by using PdfSaveOptions:
var _options = new Aspose.Words.Saving.PdfSaveOptions();
_options.CustomPropertiesExport = Aspose.Words.Saving.PdfCustomPropertiesExport.Standard;
var strm = new System.IO.MemoryStream();
strm.Position = 0;
Load pdf document from the stream:
var pdf = new Aspose.Pdf.Document(strm);
Convert pdf document into PDF/A-3b:
using (MemoryStream ms = new MemoryStream())
pdf.Convert(ms, Aspose.Pdf.PdfFormat.PDF_A_3B, Aspose.Pdf.ConvertErrorAction.Delete);
So we didn't specify compliance at the step #1. But we have Aspose.Pdf.PdfFormat.PDF_A_3B.
Thanks for sharing the details.
Can you please share the source DOCX and resultant PDF files generated at your end so that we can test the scenario at our end. We apologize for this inconvenience.
Thanks for sharing the resultant PDF file. I am able to notice the PDF/A_3b compliance issues when validating the PDF document with Adobe PreFlight. However, can you please share the resource PDF file so that we can test the conversion at our end. We are sorry for this inconvenience.
Does this version http://www.aspose.com/community/files/51/.net-components/aspose.pdf-for-.net/entry632625.aspx (PDFNEWNET-38127 PDF to PDF/A - Resultant file is not compliant)
fix this issue?
Thanks for contacting support.
The PDF to PDF/A conversion feature was resolved in earlier release versions. However if you are still facing any issue, please share the resource files, so that we can test the scenario in our environment.