TPDFlibViewerActiveRegionChange
Events, viewer interaction
Description
OnActiveRegionChange
Kind whenever the interactive region under the pointer changes. The viewer compares the freshly built region with the previous one by kind, page, index and subtype and only fires when something changed; a vrNone of
ActiveRegion means the pointer left every link, annotation and form field. The current region is also available on demand through the RegionAtClientPoint property and
Declaration
TPDFlibViewerActiveRegionChange = procedure(Sender: TObject; const Region: TPDFlibViewerActiveRegion) of object;Parameters
| Sender | The viewer that tracks the pointer |
|---|---|
| Region | The new active region with kind, page, index, subtype and the pointer position in page points |
See also
OnActiveRegionChange, ActiveRegion, RegionAtClientPoint, TPDFlibViewerActiveRegion, TPDFlibViewer