ImageEn, unit ieview

TIEView.Gestures

TIEView.Gestures


Declaration

property Gestures: TIEViewerGestures;


Description

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

Also, for TImageEnView layers can be moved and rotated by gestures.

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;