THotPDF.ClearLoadedAnnotations Method
Clears stored loaded annotations state from the document creation workflow. Call it when reused document objects should stop carrying prior packets, thumbnails, mappings, or cached output settings
Declaration
procedure ClearLoadedAnnotations(PageIndex: Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
Return value
This member does not return a value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog 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