PDFiumVCL Docs

PdfVersion property

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
Component: TPdf  ·  Unit: PDFium
Read-only flag — the PDF specification version of the open document (e.g. pv14, pv17, pv20).

Syntax

property PdfVersion: TPdfVersion; // read only

Description

Returns the PDF specification version of the open document (e.g. pv14, pv17, pv20).

PDF version is recorded as a comment in the file header and (optionally) overridden by the /Version entry in the catalog.

Read-only at the TPdf surface; to write a different version use the TSaveOption set of SaveToFile.

Remarks

Example

if Pdf1.Active and Pdf1.PdfVersion then
  Memo1.Lines.Add('PdfVersion = True')
else
  Memo1.Lines.Add('PdfVersion = False');

See Also

SaveAs, PageCount, Permissions