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

ConformsToURIMandatory pdfd:conformsTo specification URI
ClaimByOptional pdfd:claimBy agent, organisation, or tool name
ClaimDateOptional pdfd:claimDate ISO 8601 timestamp
ClaimCredentialsOptional pdfd:claimCredentials string or URI
ClaimReportOptional pdfd:claimReport reference or URI

Return values

0No document is selected or ConformsToURI is empty
NTotal number of declarations stored after the update

See also

SetPDFDeclarations, GetPDFDeclarationClaimCount, GetPDFDeclarationClaimField