This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineInkEnvironmentEvents Interface > IEngineInkEnvironmentEvents.OnGesture Event (ArcObjects .NET 10.5 SDK) |
Occurs when an ink gesture is made. Only available on TabletPC devices.
[Visual Basic .NET] Public Event OnGesture As OnGestureEventHandler
[C#] public event OnGestureEventHandler OnGesture
[C++]
HRESULT OnGesture(
esriEngineInkGesture gestureType,
VARIANT hotPoint
);
[C++]
Parameters gestureType [in]
gestureType is a parameter of type esriEngineInkGesture hotPoint [in] hotPoint is a parameter of type VARIANT
Fired when an ink stroke is recognized as a gesture. The Ink tool uses ETPC_DownLeft to create graphic elements, ETPC_RightUp to recognize ink and create a text element, and ETPC_Scratchout to erase ink strokes. The ink tools can be extended by listening to OnGesture and responding to other gesture types that are exposed in ESRITPCGestures.
Note OnGesture is supported on the Windows XP Tablet PC Edition only.