GetAnnotationHitsJSON
Annotations, Diagnostics, JSON
Description
Returns every annotation hit at a point on the selected page as stable JSON ordered from topmost to bottommost
Syntax
Function TPDFlib.GetAnnotationHitsJSON(X, Y, Tolerance: Double; Options: Integer): WideString;
Parameters
| X, Y | Point in the current document unit and origin convention |
|---|---|
| Tolerance | Additional hit radius in current document units |
| Options | Uses the same option bits as HitTestAnnotation |
Return values
A JSON object containing page, x, y, tolerance, a hits array and count
Each hit contains its current index, zOrder, subtype and public-coordinate rect