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