THotPDF.StageApprovedLoadedRedactionFindings Method

企业版:此功能随 HotPDF Enterprise 提供。在 uses 子句中加入 HPDFEnterprise(C++Builder:#pragma link "HPDFEnterprise");其他版本保留声明,调用时抛出 EHPDFEnterpriseRequired

声明

function StageApprovedLoadedRedactionFindings(
    const Findings: THPDFRedactionFindings;
    const OverlayText: AnsiString;
    out Info: THPDFRedactionStagingInfo): boolean;

行为

只有 rrdApproved 的发现项会被暂存,待处理和已拒绝的发现项保持不变

每个已批准的发现都需要唯一的 FindingID、非空且有长度限制的 ReviewerID,以及有限且位于页面内的几何

所有已批准的发现项会先经过校验,再由一次图事务创建对应的 /Redact 注释,并记录发现项和审核人元数据

任何校验或提交失败,都会让已加载的文档保持不变

该方法从不调用 ApplyLoadedRedactions,因此不会删除或烧录页面内容

THotPDF.ApplyLoadedRedactions