PDFiumVCL Docs

PdfVersion property

Bu API girdisi tanımlayıcıları, imzaları, kod bloklarını ve PDF terimlerini özgün biçiminde korur.
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