PDFium Delphi Component Docs

Signature 屬性

元件: TPdf  ·  單元: PDFium
索引屬性,會回傳一筆數位簽章記錄(簽署者、原因、聯絡資訊、位元組範圍)

語法

property Signature[Index: Integer]: TPdfSignature; // read only

說明

索引式唯讀屬性,傳回一筆數位簽章記錄(Content、ByteRange、Encoding、Reason、Time,以及 DocMDP Permission)

要求 Active 為 True。傳入 0 .. SignatureCount - 1 內以 0 為基底的索引

傳回的 TPdfSignature 記錄是呼叫當時簽章字典的快照

參數

Index以 0 為基底的索引,範圍 0 .. SignatureCount - 1

備註

範例

var
  I: Integer;
begin
  if not Pdf1.Active then Exit;
  for I := 0 to Pdf1.SignatureCount - 1 do
  begin
    // inspect Pdf1.Signature[I]
    Memo1.Lines.Add(IntToStr(I));
  end;
end;

另請參閱

SignatureCount