PDFiumVCL Docs

PdfEConformance property

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
Component: TPdf  ·  Unit: PDFium
Read-only PDF/E conformance level of the currently open document, without needing to call ValidatePdfE explicitly.

Syntax

property PdfEConformance: TPdfEConformance; // read only

Description

PdfEConformance is the lighter-weight counterpart to ValidatePdfE: it returns the detected conformance level directly without materialising the full issue list. The property is implemented as a thin wrapper that calls ValidatePdfE and returns the Conformance field, so the result is always the same value the validator would report.

Possible values:

Use PdfEConformance for routing decisions in engineering workflows ("does this drawing need to go through the PDF/E promotion pipeline?") and for surfacing a single status string in the UI. When the caller also needs to enumerate the specific issues that broke conformance, use ValidatePdfE instead so the parse runs only once.

Remarks

Example

Pdf1.FileName := 'C:\Incoming\drawing.pdf';
Pdf1.Active := True;
case Pdf1.PdfEConformance of
  pec1: Status.Caption := 'PDF/E-1';
  pecNone: Status.Caption := 'Not PDF/E';
  pecUnknown: Status.Caption := 'PDF/E marker present but version unknown';
end;

See Also

ValidatePdfE, SaveAsPdfE, SaveAsPdfEToStream, PdfAConformance, PdfUaConformance