GetPDFDeclarationsRole

合规

描述

返回为一条机器可读 PDF Declarations 合规声明存储的角色

语法

Delphi

Function GetPDFDeclarationsRole(Index: Integer): WideString;

参数

Index要读取的声明的从 0 开始的索引

返回值

S声明角色;存储条目省略 /role 时也使用该值
P策略角色
A断言角色
空字符串未加载文档、Index 为负数或超出范围,或无法读取声明

说明

使用 GetPDFDeclarationsCount 确定从 0 到数量减 1 的有效范围

示例

Role:= PDF.GetPDFDeclarationsRole(0);

另请参阅

GetPDFDeclarationsCount, GetPDFDeclarationsURI, GetPDFDeclarationsVersion, SetPDFDeclarations