OnSnapshot

Viewer interaction, rendering and printing

Description

Fires after a snapshot drag captured a region, with Snapshot holding the captured bitmap. The viewer owns the bitmap and frees it when the handler returns, so assign or draw it but never store it;

OnBeforeSnapshot can cancel the capture entirely

Syntax

Delphi

Property OnSnapshot: TPDFlibViewerSnapshot Read FOnSnapshot Write FOnSnapshot;

See also

OnBeforeSnapshot, SnapshotToClipboard, SaveCurrentViewToFile, ViewerMode, TPDFlibViewer