THotPDF.RedactLoadedRect 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
Redacts the specified page area
Declaration
procedure RedactLoadedRect(PageIndex: Integer;
Unit
HPDFDoc
Usage notes
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input supplied to RedactLoadedRect |
Y1 | Input supplied to RedactLoadedRect |
X2 | Input supplied to RedactLoadedRect |
Y2 | Input supplied to RedactLoadedRect |
ARed | Input supplied to RedactLoadedRect |
AGreen | Input supplied to RedactLoadedRect |
ABlue | Input supplied to RedactLoadedRect |
Return value
This member returns no value
Usage notes
- Use this API in the annotation and action workflow before the affected page, resource, field or catalogue object is finalised
- Can specify the RGB colour for filling
- Often used to hide sensitive information