Skip to main content

TdxPDFViewerHandTool Class

An action object corresponding to the HandTool command provided by the PDF Viewer control.

Declaration

TdxPDFViewerHandTool = class(
    TdxPDFViewerCheckableAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerHandTool action object disables or enables the Hand tool (depending on its current state). Enabling the Hand tool disables the capability to select the PDF document content and vice versa. If enabled, the Hand tool allows an end-user to scroll the content by dragging the displayed PDF document instead of using the mouse wheel and/or scrollbars.

VCL PDF Viewer: The Hand Tool

UI elements linked to a TdxPDFViewerHandTool action object are enabled only if the PDF Viewer control currently displays a document (i.e., the control’s IsDocumentLoaded function returns True).

See Also