THotPDF.RedactLoadedRect Method
Provides redact loaded rect behavior for the annotation and action workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
procedure RedactLoadedRect(PageIndex: Integer; X1, Y1, X2, Y2: Single; ARed, AGreen, ABlue: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input used by RedactLoadedRect |
Y1 | Input used by RedactLoadedRect |
X2 | Input used by RedactLoadedRect |
Y2 | Input used by RedactLoadedRect |
ARed | Input used by RedactLoadedRect |
AGreen | Input used by RedactLoadedRect |
ABlue | Input used by RedactLoadedRect |
Return value
This member does not return a 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