property PdfEConformance: TPdfEConformance; // read only
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:
pdfe:ISO_PDFEVersion with a non-empty value was found in the XMP metadata stream.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.
pecUnknown when Active is False.
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;