pdfEnableTouchZoom
Enable or disable touch zooming.
void pdfEnableTouchZoom(PDFViewerHandle viewer, BOOL enabled)
This function enables (if
enabled
is true) or disables
(if enabled
is false) touch zooming. This is only useful
on a Windows system with a touch screen.
If enabled, two-finger "pinch" gestures will trigger the
pdfSetTouchZoomCbk
callback.
The default setting is enabled. Disabling touch zooming can be useful when your application is in a mode that allows selecting or highlighting text, and where zooming would be inappropriate.
IMPORTANT: Calling pdfEnableTouchZoom
with true only
enables the events; it does not perform any zooming. See
pdfSetTouchZoomCbk
for more information.
C:
pdfEnableTouchZoom(viewer, FALSE);