THotPDF.AddLoadedRedactAnnotationEx Method
Adds loaded redact annotation ex data to the annotation and action workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
function AddLoadedRedactAnnotationEx(PageIndex: Integer; X1, Y1, X2, Y2: Single; const OverlayText: AnsiString = ''; InteriorR: Single = 0; InteriorG: Single = 0; InteriorB: Single = 0; RepeatOverlay: Boolean = False; Justification: Integer = 0): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input used by AddLoadedRedactAnnotationEx |
Y1 | Input used by AddLoadedRedactAnnotationEx |
X2 | Input used by AddLoadedRedactAnnotationEx |
Y2 | Input used by AddLoadedRedactAnnotationEx |
OverlayText | Input used by AddLoadedRedactAnnotationEx |
InteriorR | Input used by AddLoadedRedactAnnotationEx |
InteriorG | Input used by AddLoadedRedactAnnotationEx |
InteriorB | Input used by AddLoadedRedactAnnotationEx |
RepeatOverlay | Input used by AddLoadedRedactAnnotationEx |
Justification | Input used by AddLoadedRedactAnnotationEx |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the annotation and action workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values