THotPDF.AddLoadedRedactAnnotation Method
Adds a /Subtype /Redact markup annotation (PDF 1.7 12.5.6.10) to a loaded page marking a region for later redaction
Declaration
procedure AddLoadedRedactAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; const OverlayText: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index of the loaded page |
X1, Y1, X2, Y2 | Redaction rectangle in PDF user space points |
OverlayText | Text shown by compliant viewers before the redaction is applied; pass '' for a plain redaction |
Return value
This member returns no value
Usage notes
- THotPDF.ApplyLoadedRedactions consumes these annotations to burn the underlying content in
- Use THotPDF.RedactLoadedRect for an immediate non-annotation redaction instead