THotPDF.SetLoadedAnnotationFlags Method
Sets loaded annotation flags state for subsequent document creation output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetLoadedAnnotationFlags(PageIndex, AnnotationIndex, AFlags: Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
AnnotationIndex | Zero-based index or object index used to select an existing item |
AFlags | Input used by SetLoadedAnnotationFlags |
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 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