Some test text!

menu
Validate PDF/Akeyboard_arrow_down

Validate PDF/A documents in C++

To validate a PDF/A document for compliance.

PDFACompliance pdf_a(false, filename, 0, PDFACompliance::e_Level2B, 0, 10);
int err_cnt = static_cast<int>(pdf_a.GetErrorCount());
if (err_cnt == 0) 
{
    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