GetAnnotationHitsJSON
Annotations, Diagnostics, JSON
Opis
Vráti každý zásah anotácie v bode na vybranej stránke ako stabilné JSON zotriedené od najvrchnejšej po najspodnejšiu
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