PDFiumVCL Docs

PdfVTConformance property

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

Syntax

property PdfVTConformance: TPdfVTConformance; // read only

Description

PdfVTConformance is the lighter-weight counterpart to ValidatePdfVT: it returns the detected conformance level directly without materialising the full issue list.

Possible values:

Use PdfVTConformance for routing decisions in variable-data print workflows ("does this batch need DPart augmentation?") and for surfacing a single status string in the UI. When the caller also needs to enumerate the specific issues that broke conformance, use ValidatePdfVT instead.

Remarks

Example

Pdf1.FileName := 'C:\Incoming\statements.pdf';
Pdf1.Active := True;
case Pdf1.PdfVTConformance of
  pvc1: Status.Caption := 'PDF/VT-1';
  pvc2: Status.Caption := 'PDF/VT-2';
  pvcNone: Status.Caption := 'Not PDF/VT';
  pvcUnknown: Status.Caption := 'PDF/VT marker present but version unknown';
end;

See Also

ValidatePdfVT, SaveAsPdfVT, SaveAsPdfVTToStream, PdfXConformance