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

vmSelectDrags a text selection marquee and follows links on plain clicks, the default tool
vmHandPans the view by dragging
vmZoomDrags a marquee that zooms to fill the viewport
vmSnapshotCopies the dragged region as a bitmap to the clipboard and fires OnSnapshot
vmHighlightMarks the dragged region with a persistent translucent highlight

See also

ViewerMode, TPDFlibViewerSelectMode, TPDFlibViewerHandMode, TPDFlibViewerMarqueeZoomMode, TPDFlibViewerSnapshotMode, TPDFlibViewerHighlightMode, TPDFlibViewer