THPDFPage.GetAnnotsArray Method
Gets the annotations (Annots) array of the current page; it auto-initialises and associates with the page dictionary if non-existent.
Declaration
function GetAnnotsArray: THPDFArrayObject;
Unit
HPDFDoc
Return values
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns a THPDFArrayObject value
Usage
- Use this API in the page drawing 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
- Called when needing to add interactive widgets such as form fields, hyperlinks, or highlight markups to the page.