PDFium Delphi Component 文件

Signature 属性

组件: TPdf  ·  单元: PDFium
索引属性——返回一条数字签名记录(签名者、原因、联系方式、字节范围)

Syntax

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

Description

索引只读属性,返回一条数字签名记录(签名者、原因、联系方式、字节范围)

要求 Active 为 True。当索引超出有效范围时,结果是未定义的;传入 0 .. SignatureCount - 1 范围内的值(对于非计数变体,可使用数组的 Length)

返回的记录是调用时值的快照;之后对文档的编辑不会修改先前返回的记录

Parameters

Index位于 0 .. SignatureCount - 1 范围内的基于 0 的索引

Remarks

Example

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;

See Also

SignatureCount