property FileIdentifier[IDType: TPdfFileIdentifierType]: TBytes; // read only
Returns the document file identifier bytes 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
/ID array and remain constant across page changes while the document is openfidPermanent reads the first element (original identifier) and fidChanging reads the second element (updated on modification)TBytes array when the trailer omits an /ID entry
if Pdf1.Active then
Memo1.Lines.Add('Permanent ID bytes = ' + IntToStr(Length(Pdf1.FileIdentifier[fidPermanent])));