THotPDF.AddLoadedLineAnnotation Method
Adds a line annotation to the page
Declaration
procedure AddLoadedLineAnnotation(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 AddLoadedLineAnnotation |
Y1 | Input supplied to AddLoadedLineAnnotation |
X2 | Input supplied to AddLoadedLineAnnotation |
Y2 | Input supplied to AddLoadedLineAnnotation |
LStartX | Input supplied to AddLoadedLineAnnotation |
LStartY | Input supplied to AddLoadedLineAnnotation |
LEndX | Input supplied to AddLoadedLineAnnotation |
LEndY | Input supplied to AddLoadedLineAnnotation |
AContents | Human-readable text stored in the PDF object, action, annotation, or structure element |
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