GetPDFDeclarationsRole

合規性

描述

傳回為一個機器可讀 PDF Declarations 符合性聲明所儲存的角色

語法

Delphi

Function GetPDFDeclarationsRole(Index: Integer): WideString;

參數

Index要讀取的宣告的從 0 起算索引

傳回值

S聲明角色;儲存的項目省略 /role 時也使用此值
P原則角色
A斷言角色
空字串未載入文件、Index 為負數或超出範圍,或宣告無法讀取

備註

請以 GetPDFDeclarationsCount 確定 0 到 count-1 的有效範圍

範例

Role:= PDF.GetPDFDeclarationsRole(0);

另請參閱

GetPDFDeclarationsCount, GetPDFDeclarationsURI, GetPDFDeclarationsVersion, SetPDFDeclarations