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

SenderThe viewer performing the snapshot drag
RegionThe dragged rectangle in client coordinates
HandledStarts False; set to True to cancel the default capture

See also

OnBeforeSnapshot, OnSnapshot, CaptureRegion, SnapshotToClipboard, TPDFlibViewerSnapshot, ViewerMode