Some test text!

menu
Validate PDF/Akeyboard_arrow_down

Validate PDF/A documents in Node.js

To validate a PDF/A document for compliance.

const pdfa = await PDFNet.PDFACompliance.createFromUrl(true, filename, '', PDFNet.PDFACompliance.Conformance.e_Level2B, null, 10);
const err_cnt = await pdfaValidate.getErrorCount();
if (errorCountValidate === 0) 
{
    console.log('%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