ViewerMode

Viewer interaction

Description

Selects what the left mouse button does: vmSelect drags a text selection, the default, vmHand pans the view, vmZoom drags a marquee that zooms to fill the viewport, vmSnapshot copies the dragged region as a bitmap, and vmHighlight marks the dragged region with a persistent translucent highlight

Switching modes cancels any drag in flight and switches the cursor: a hand pointer for vmHand, a crosshair for vmZoom, vmSnapshot and vmHighlight, and the default cursor otherwise

Syntax

Delphi

Property ViewerMode: TPDFlibViewerMode Read FViewerMode Write SetViewerMode;

See also

SetDisplayMode, OnMarqueeSelect, OnSnapshot, TPDFlibViewer