Some test text!

menu
search
Validate PDF/Akeyboard_arrow_down

Validate PDF/A document

To validate a PDF/A document for compliance.

pdf_a = PDFACompliance(True, filename, None, PDFACompliance.e_Level1B, 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

close

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.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close