property FileIdentifier[IDType: TPdfFileIdentifierType]: TBytes; // read only
傳回所要求識別碼槽位對應的文件檔案識別碼陣列
PDF 1.7 § 14.4 規定 trailer 中必須有雙元素的 /ID 陣列:第一個 ID 為建立識別碼,第二個 ID 為最後修改識別碼
傳入 fidPermanent(原始)或 fidChanging(目前);當 /ID 不存在時傳回 nil 位元組
/ID 陣列中,文件開啟期間不隨頁面切換而改變fidPermanent 讀取第一個元素(原始識別碼),fidChanging 讀取第二個元素(修改時更新)/ID 項目時傳回空的 TBytes 陣列
if Pdf1.Active then
Memo1.Lines.Add('Permanent ID bytes = ' + IntToStr(Length(Pdf1.FileIdentifier[fidPermanent])));