ImageEn, unit iemview

TImageEnMView.Gestures

TImageEnMView.Gestures


Declaration


property Gestures: TIEMViewerGestures;


Description


TImageEnMView supports native Windows gestures:
- Dragging the screen to pan an image
- Pinching to zoom in
- Reverse-pinching to zoom out

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


Example


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