How to tell if a PDF is PDF/A

Hello,


How can we tell if a PDF file is PDF/A or any other standard? Is there a property that tells it?

Regards,

Kees de Wit

Hi Kees,

Thanks for your inquiry. You can easily validate a PDFA file using validate() method. Please check following documentation link for details and sample code snippet. Hopefully it will help you to accomplish the task.

Validate a PDF document for PDFA standard.

Please feel free to contact us for any further assistance.

Best Regards,

Hi Tilal,



I want to know if the document “claims to be” PDF/A, not if it is valid PDF/A. The validate method does not help in that case. Before we can use the validate method we must determine if the document claims to be one of the formats it can validate.



Regards,



Kees de Wit

Hi Kees,


Thanks for additional information. We have internal properties to know whether a PDF is PDFA compliant or not and its PDFA standard. We will make these properties public in coming release i.e Aspose.Pdf for .NET 10.7.0. Hopefully it will be released in start of August, 2015.

Furthermore, we have logged a ticket PDFNEWNET-39111 in our issue tracking system for the purpose. So you will get an email notification as soon as it gets available. You will be able to use doc.IsPdfaCompliant to know whether PDF document is PDFA compliant or not and doc.PdfaFormat property to get PDFA standard that PDF document claims.


Please feel free to contact us for any further assistance.


Best Regards,

Hi Kees,


Once the new release is published, please try using IsPdfaCompliant and PdfaFormat properties of Document class to determine if input/source file is PDF/A compliant. As soon as the new release becomes available, we will let you know.

Hi Nayyer,



That is great news. Thanks for the great support. I will be glad to know when the new release is published.



Regards,



Kees de Wit

Hi there, sorry to break in. But for testing purposes in the meantime you use the preflight function of Adobe Reader Pro. There’s an availability of a trial for 30 days if you don’t have the software.


Good luck!
Subhash.Chedi:
Hi there, sorry to break in. But for testing purposes in the meantime you use the preflight function of Adobe Reader Pro. There's an availability of a trial for 30 days if you don't have the software.
Hi Subhash,

Thanks for sharing your thoughts.

Yes we are using Pre-Flight feature of Adobe Acrobat for PDF/A compliance testing and we use it as standard testing tool because it validates compliance as per Adobe specifications for PDF document.

The issues you have found earlier (filed as PDFNEWNET-39111) have been fixed in Aspose.Pdf for .NET 10.7.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.