GetAnnotationHitsJSON
Annotations, Diagnostics, JSON
คำอธิบาย
คืนค่าคำอธิบายประกอบทุกอันที่จุดหนึ่งบนหน้าที่เลือกอยู่ เป็น JSON คงที่เรียงจากบนสุดลงล่างสุด
ไวยากรณ์
Function TPDFlib.GetAnnotationHitsJSON(X, Y, Tolerance: Double; Options: Integer): WideString;
พารามิเตอร์
| X, Y | จุดพิกัดในหน่วยเอกสารปัจจุบันตามธรรมเนียมจุดกำเนิดที่ใช้อยู่ |
|---|---|
| Tolerance | รัศมีจุดตรงเสริม หน่วยเอกสารปัจจุบัน |
| Options | ใช้บิตตัวเลือกชุดเดียวกับ HitTestAnnotation |
ค่าที่ส่งคืน
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