Table of Contents

Method ReadPdfxConformance

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

ReadPdfxConformance(PdfDocument)

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

public static PdfxConformanceLevel? ReadPdfxConformance(this PdfDocument document)

Parameters

document PdfDocument

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

Returns

PdfxConformanceLevel?

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

Remarks

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