Skip to main content

Function: validatePdf2Conformance()

function validatePdf2Conformance(document): readonly Pdf2ComplianceIssue[];

Validates a parsed document for PDF 2.0 features that this library can detect as deprecated or removed.

Parameters

ParameterTypeDescription
documentParsedPdfDocumentThe parsed PDF document to inspect.

Returns

readonly Pdf2ComplianceIssue[]

The PDF 2.0 conformance issues found in the document.