OnBeforeSnapshot

Viewer interaction, rendering and printing

Description

Fires before a snapshot drag is captured, with Region holding the dragged client rectangle in pixels

Setting Handled to True in the handler cancels the default capture, so no bitmap is placed on the clipboard and OnSnapshot does not fire

Syntax

Delphi

Property OnBeforeSnapshot: TPDFlibViewerBeforeSnapshot Read FOnBeforeSnapshot Write FOnBeforeSnapshot;

See also

OnSnapshot, SnapshotToClipboard, SaveCurrentViewToFile, ViewerMode, TPDFlibViewer