THotPDF.ApplyLoadedRedactionsAndRemoveAnnotations Method
Applies loaded redactions and removes the annotations they cover inside the document creation workflow. The method transforms text, form packets, validation profiles or loaded PDF data whilst preserving public identifiers and caller-supplied resources
Declaration
function ApplyLoadedRedactionsAndRemoveAnnotations(const PageRange: AnsiString = ''): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageRange | Input supplied to ApplyLoadedRedactionsAndRemoveAnnotations |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values