THotPDF.DetectLoadedRedactionFindings Method

Declaration

function DetectLoadedRedactionFindings(
    const PageIndices: array of Integer;
    const EntityDetector: IHPDFTextEntityDetector;
    const FaceDetector: IHPDFFaceDetector;
    const Options: THPDFRedactionDetectionOptions;
    out Findings: THPDFRedactionFindings;
    out Info: THPDFRedactionDetectionInfo): boolean;

Behavior

An empty PageIndices array selects every loaded page and repeated page indices are processed once

Optional detectors are required only when their corresponding enable flag is set and execute synchronously on the calling thread

Success returns rdsSucceeded, including when no finding is discovered or MaxFindings truncates an otherwise valid result set

Invalid input, extraction or detector failure, exhausted budgets, or cancellation returns False and clears Findings

The method never mutates annotations, page contents, metadata, or the loaded object graph

Review-First Redaction Detection