PDFiumVCL Docs

FileIdentifier property

이 API 항목은 식별자, 시그니처, 코드 블록, PDF 용어를 원래 형태로 유지합니다.
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