TPDFlibViewerBeforeSnapshot
Events, viewer interaction
Description
OnBeforeSnapshotvmSnapshot
Handled before a snapshot drag in True mode is captured. The hook may take over the region entirely: setting OnSnapshot to
Declaration
TPDFlibViewerBeforeSnapshot = procedure(Sender: TObject; const Region: TRect; var Handled: Boolean) of object;Parameters
| Sender | The viewer performing the snapshot drag |
|---|---|
| Region | The dragged rectangle in client coordinates |
| Handled | Starts False; set to True to cancel the default capture |
See also
OnBeforeSnapshot, OnSnapshot, CaptureRegion, SnapshotToClipboard, TPDFlibViewerSnapshot, ViewerMode