AddPDFDeclarationClaim

合規

描述

附加一個結構化的 pdfd:claimData 項目(若父宣告尚未存在則一併建立)到 Catalog XMP 的 pdfd:declarations bag 中

語法

Delphi

Function TPDFlib.AddPDFDeclarationClaim(Const ConformsToURI, ClaimBy, ClaimDate, ClaimCredentials, ClaimReport: WideString): Integer;

參數

ConformsToURI必要的 pdfd:conformsTo 規範 URI
ClaimBy選用的 pdfd:claimBy 代理人、組織或工具名稱
ClaimDate選用的 pdfd:claimDate ISO 8601 時間戳記
ClaimCredentials選用的 pdfd:claimCredentials 字串或 URI
ClaimReport選用的 pdfd:claimReport 參照或 URI

傳回值

0未選取任何文件,或 ConformsToURI 為空
N更新後儲存的宣告總數

另請參閱

SetPDFDeclarations, GetPDFDeclarationClaimCount, GetPDFDeclarationClaimField