GetPDFDeclarationsVersion
合規性
描述
傳回為一個機器可讀 PDF Declarations 符合性聲明所儲存的選用版本
語法
Delphi
Function GetPDFDeclarationsVersion(Index: Integer): WideString;參數
| Index | 要讀取的宣告的從 0 起算索引 |
|---|
傳回值
| Version | Index 位置儲存的宣告版本 |
|---|---|
| 空字串 | 宣告沒有版本、未載入文件、Index 為負數或超出範圍,或宣告無法讀取 |
備註
空結果對沒有 /version 項目的宣告而言是有效的,因此請以 GetPDFDeclarationsCount 區分有效索引與超出範圍的索引
範例
Version:= PDF.GetPDFDeclarationsVersion(0);另請參閱
GetPDFDeclarationsCount, GetPDFDeclarationsURI, GetPDFDeclarationsRole, SetPDFDeclarations