GetPDFDeclarationsRole

Compliance

Description

Returns the role stored for one machine-readable PDF Declarations conformance claim

Syntax

Delphi

Function GetPDFDeclarationsRole(Index: Integer): WideString;

Parameters

IndexZero-based index of the declaration to read

Return values

SClaiming role, also used when the stored entry omits /role
PPolicy role
AAssertion role
Empty stringNo document is loaded, Index is negative or out of range, or the declarations cannot be read

Remarks

Use GetPDFDeclarationsCount to establish the valid range from 0 through count minus 1

Example

Role:= PDF.GetPDFDeclarationsRole(0);

See also

GetPDFDeclarationsCount, GetPDFDeclarationsURI, GetPDFDeclarationsVersion, SetPDFDeclarations