Some test text!

Validate PDF/Akeyboard_arrow_down

Validate PDF/A documents in Python

To validate a PDF/A document for compliance.

pdf_a = PDFACompliance(True, filename, None, PDFACompliance.e_Level2B, 0, 10)
err_cnt = pdf_a.GetErrorCount()
if err_cnt == 0:
    print("%s: OK." % (filename))

Convert PDF to PDF/A
Full sample code which illustrates how to validate existing PDF documents for PDF/A compliance as well as to convert generic PDF documents to PDF/A format.

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more