RegionAtClientPoint
Viewer interaction
Description
Identifies the link, non-link annotation or form field under a Viewer client coordinate
The returned record includes the one-based page and top-down PDF point coordinate after accounting for zoom, scrolling, page layout and view rotation
Syntax
Delphi
Function TPDFlibViewer.RegionAtClientPoint(X, Y: Integer; Out Region: TPDFlibViewerActiveRegion): Boolean;Return values
| False | The point is outside an interactive region; Region.Kind is vrNone |
|---|---|
| True | A link, annotation or form field was found |