THotPDF.DetectLoadedRedactionFindings Method
Enterprise edition: this feature ships with HotPDF Enterprise. Add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise"); other editions retain the declaration and raise EHPDFEnterpriseRequired
Declaration
function DetectLoadedRedactionFindings(
const PageIndices: array of Integer;
const EntityDetector: IHPDFTextEntityDetector;
const FaceDetector: IHPDFFaceDetector;
const Options: THPDFRedactionDetectionOptions;
out Findings: THPDFRedactionFindings;
out Info: THPDFRedactionDetectionInfo): boolean;
Behaviour
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