property PdfUaConformance: TPdfUaConformance; // read only
PdfUaConformance is the lighter-weight counterpart to
ValidatePdfUa: it returns the detected conformance level
directly without materialising the full issue list. The property is
implemented as a thin wrapper that calls ValidatePdfUa
and returns the Conformance field, so the result is
always the same value the validator would report.
Possible values:
pdfuaid:part = 1 was found in the XMP metadata stream.Use PdfUaConformance for routing decisions ("does this document need to go through the PDF/UA tagging 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 ValidatePdfUa instead so the parse runs only once.
pucUnknown when Active is False.
Pdf1.FileName := 'C:\Incoming\report.pdf';
Pdf1.Active := True;
case Pdf1.PdfUaConformance of
puc1: Status.Caption := 'PDF/UA-1';
pucNone: Status.Caption := 'Not PDF/UA';
pucUnknown: Status.Caption := 'PDF/UA marker present but level unknown';
end;