Enable or disable touch panning.
[read/write property] enableTouchPan([out, retval] VARIANT_BOOL *enabled) enableTouchPan([in] VARIANT_BOOL enabled)
This property enables (if set to true) or disables (if set to false) touch panning. This is only useful on a Windows system with a touch screen.

If enabled, touch gestures will scroll the PDF viewer horizontally and vertically.

If disabled, those touch gestures will be treated as regular mouse events, i.e., they will draw a selection or trigger mouse events, depending on the enableMouseEvents setting.

The default setting is enabled. Disabling touch panning can be useful when your application is in a mode that allows selecting or highlighting text, and where panning would be inappropriate.

viewer.enableTouchPan = False