ImageEn, unit imageenview

TImageEnView.Gestures

TImageEnView.Gestures


Declaration

property Gestures: TIEViewerGestures;


Description

TImageEnView supports native Windows gestures:
 Dragging the screen to pan an image
 Pinching to zoom in
 Reverse-pinching to zoom out
 Layer rotation and movement

ImageEn automatically handles the Windows gesture events, so adding gesture support to your applications requires only that you enable the relevant Gesture property.


Demo

Demo  Demos\Display\Gestures\Gestures.dpr


Example

// enable Pan (scroll) and Zoom gestures
ImageEnView1.Gestures.Pan.Enabled := True;
ImageEnView1.Gestures.Zoom.Enabled := True;