THotPDF.AddLoadedHighlightAnnotation Method
Adds a highlight annotation to the page
Declaration
procedure AddLoadedHighlightAnnotation(PageIndex: Integer;
Unit
HPDFDoc
Usage notes
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input supplied to AddLoadedHighlightAnnotation |
Y1 | Input supplied to AddLoadedHighlightAnnotation |
X2 | Input supplied to AddLoadedHighlightAnnotation |
Y2 | Input supplied to AddLoadedHighlightAnnotation |
ASubtype | Input supplied to AddLoadedHighlightAnnotation |
AContents | Human-readable text stored in the PDF object, action, annotation, or structure element |
AQuadPoints | Input supplied to AddLoadedHighlightAnnotation |
Return value
This member returns no 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