AddPDFDeclarationClaim
Compliance
Description
Appends a structured pdfd:claimData entry (or creates the parent declaration if not yet present) in the Catalog XMP pdfd:declarations bag
Syntax
Delphi
Function TPDFlib.AddPDFDeclarationClaim(Const ConformsToURI, ClaimBy, ClaimDate, ClaimCredentials, ClaimReport: WideString): Integer;Parameters
| ConformsToURI | Mandatory pdfd:conformsTo specification URI |
|---|---|
| ClaimBy | Optional pdfd:claimBy agent, organization, or tool name |
| ClaimDate | Optional pdfd:claimDate ISO 8601 timestamp |
| ClaimCredentials | Optional pdfd:claimCredentials string or URI |
| ClaimReport | Optional pdfd:claimReport reference or URI |
Return values
| 0 | No document is selected or ConformsToURI is empty |
|---|---|
| N | Total number of declarations stored after the update |
See also
SetPDFDeclarations, GetPDFDeclarationClaimCount, GetPDFDeclarationClaimField