IGestureRecognizer::EnableGestures 方法 (rtscom.h)

设置一个值,该值指示 GestureRecognizer 类 对象响应的应用程序手势。

语法

HRESULT EnableGestures(
  [in] ULONG     cGestures,
  [in] const int *pGestures
);

参数

[in] cGestures

pGestures 参数指向的数组的大小。 有效值介于 0 和 64(含)之间。

[in] pGestures

InkApplicationGesture 枚举值的数组,指示 GestureRecognizer 类对象响应的应用程序手势。

返回值

有关返回值的说明,请参阅 RealTimeStylus 类和接口

注解

不能与任何其他手势一起启用 AllGestures

要求

要求
最低受支持的客户端 Windows XP Tablet PC Edition [仅限桌面应用]
最低受支持的服务器 无受支持的版本
目标平台 Windows
标头 rtscom.h
DLL RTSCom.dll

另请参阅

DynamicRenderer 类

GestureRecognizer 类

IGestureRecognizer

IGestureRecognizer::Enabled 属性