PDFiumVCL Docs

FileIdentifier 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 — returns the document file identifier array for the requested identifier slot.

Syntax

property FileIdentifier: TBytes; // read only

Description

Returns returns the document file identifier array for the requested identifier slot.

PDF 1.7 § 14.4 mandates a two-element /ID array in the trailer: first ID = creation, second ID = last modification.

Pass fidPermanent (original) or fidChanging (current); returns nil bytes when /ID is absent.

Remarks

Example

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

See Also

PdfVersion, ModifiedDate, SaveAs