Table of Contents

Method ReadPdfaConformance

Namespace
BitMiracle.Docotic.Pdf.Conformance
Assembly
BitMiracle.Docotic.Pdf.Conformance.dll

ReadPdfaConformance(PdfDocument)

Reads the PDF/A conformance level declared in the document's XMP metadata.

public static PdfaConformanceLevel? ReadPdfaConformance(this PdfDocument document)

Parameters

document PdfDocument

The PDF document to read PDF/A conformance level from.

Returns

PdfaConformanceLevel?

The PDF/A conformance level if present in XMP metadata; otherwise, null.

Remarks

This method does not validate conformance to PDF/A. It only reads the PDF/A conformance level from the "pdfaid" schema in the XMP metadata.