THotPDF.ApplyLoadedRedactionsAndRemoveAnnotations Method
Applies loaded redactions and remove annotations processing inside the document creation workflow. The method transforms text, form packets, validation profiles, or loaded PDF data while preserving public identifiers and caller-supplied resources
Declaration
function ApplyLoadedRedactionsAndRemoveAnnotations(const PageRange: AnsiString = ''): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageRange | Input used by ApplyLoadedRedactionsAndRemoveAnnotations |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation 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