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.

Note:
◼All ImageEn gestures are disabled by default
◼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\Other\Gestures\Gestures.dpr

Example

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