ArcObjects Library Reference (Controls)  

IEngineInkEnvironmentEvents.OnGesture Event

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IEngineInkEnvironmentEvents Interface