Enable or disable touch panning.
void pdfEnableTouchPan(PDFViewerHandle viewer, BOOL enabled)
This function enables (if enabled is true) or disables (if enabled is 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 and/or trigger mouse events.

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.

pdfEnableTouchPan(viewer, FALSE);