Some test text!

menu
Validate PDF/Akeyboard_arrow_down

Validate PDF/A documents in PHP

To validate a PDF/A document for compliance.

$pdf_a = new PDFACompliance(true, $filename, "0", PDFACompliance::e_Level2B, 0, 10);
$err_cnt = $pdf_a->GetErrorCount();
if ($err_cnt == 0) 
{
    echo printf("%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.

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

Learn more
close