TPDFlibViewerMode
Data types, viewer interaction
Description
Enum that selects what the left mouse button does on the viewer surfaceConsumed by the
ViewerMode property; the tool-mode actions of PDFlibViewerActions assign and mirror these values, and vmSelect is the default
Declaration
TPDFlibViewerMode = (vmSelect, vmHand, vmZoom, vmSnapshot, vmHighlight);Values
| vmSelect | Drags a text selection marquee and follows links on plain clicks, the default tool |
|---|---|
| vmHand | Pans the view by dragging |
| vmZoom | Drags a marquee that zooms to fill the viewport |
| vmSnapshot | Copies the dragged region as a bitmap to the clipboard and fires OnSnapshot |
| vmHighlight | Marks the dragged region with a persistent translucent highlight |
See also
ViewerMode, TPDFlibViewerSelectMode, TPDFlibViewerHandMode, TPDFlibViewerMarqueeZoomMode, TPDFlibViewerSnapshotMode, TPDFlibViewerHighlightMode, TPDFlibViewer