TPDFlibViewerSnapshot

Events, viewer interaction

Description

Fires through OnSnapshot after a snapshot drag in vmSnapshot mode was captured

Snapshot

SnapshotToClipboard is owned by the viewer and freed when the handler returns, so assign or draw it but do not store it. When OnBeforeSnapshot is set the same bitmap also goes to the clipboard, and a snapshot the

Declaration

TPDFlibViewerSnapshot = procedure(Sender: TObject; Snapshot: TBitmap) of object;

Parameters

SenderThe viewer that captured the snapshot
SnapshotThe captured bitmap, valid only for the duration of the handler

See also

OnSnapshot, OnBeforeSnapshot, CaptureRegion, SnapshotToClipboard, TPDFlibViewerBeforeSnapshot, ViewerMode