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, vmHighlight marks the dragged region with a persistent translucent highlight, and vmDrawInk, vmDrawSquare and vmDrawCircle draw an ink stroke, rectangle or circle that is committed as an annotation by CommitDrawnShape
Switching modes cancels any drag in flight and switches the cursor: a hand pointer for vmHand, a crosshair for vmZoom, vmSnapshot, vmHighlight and the three drawing modes, and the default cursor otherwise
Syntax
Delphi
Property ViewerMode: TPDFlibViewerMode Read FViewerMode Write SetViewerMode;See also
SetDisplayMode, OnMarqueeSelect, OnSnapshot, CommitDrawnShape, DrawColor, DrawLineWidth, TPDFlibViewer