GetPDFDeclarationsVersion
合规
描述
返回为一条机器可读 PDF Declarations 合规声明存储的可选版本
语法
Delphi
Function GetPDFDeclarationsVersion(Index: Integer): WideString;参数
| Index | 要读取的声明的从 0 开始的索引 |
|---|
返回值
| Version | Index 处存储的声明版本 |
|---|---|
| 空字符串 | 声明没有版本、未加载文档、Index 为负数或超出范围,或无法读取声明 |
说明
对没有 /version 条目的声明,空结果属于正常情况,因此请使用 GetPDFDeclarationsCount 区分有效索引和越界索引
示例
Version:= PDF.GetPDFDeclarationsVersion(0);另请参阅
GetPDFDeclarationsCount, GetPDFDeclarationsURI, GetPDFDeclarationsRole, SetPDFDeclarations