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 .. SignatureCount - 1 范围内的基于 0 的索引

备注

示例

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

参见

SignatureCount