THotPDF.StageApprovedLoadedRedactionFindings Method

Enterprise edition: this feature ships with HotPDF Enterprise. Add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise"); other editions keep the declaration and raise EHPDFEnterpriseRequired

Declaration

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

Behavior

Only rrdApproved findings are staged while pending and rejected findings remain unchanged

Every approved finding requires a unique FindingID, a non-empty bounded ReviewerID, and finite page-contained geometry

All approved findings are validated before one graph transaction creates their /Redact annotations and records finding and reviewer metadata

Any validation or commit failure leaves the loaded document unchanged

This method never invokes ApplyLoadedRedactions and therefore never removes or burns in page content

THotPDF.ApplyLoadedRedactions