初始化 InkEditGestureEventArgs 类的新实例。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink(在 Microsoft.Ink.dll 中)
语法
声明
Public Sub New ( _
cursor As Cursor, _
strokes As Strokes, _
gestures As Gesture(), _
cancel As Boolean _
)
用法
Dim cursor As Cursor
Dim strokes As Strokes
Dim gestures As Gesture()
Dim cancel As Boolean
Dim instance As New InkEditGestureEventArgs(cursor, _
strokes, gestures, cancel)
public InkEditGestureEventArgs(
Cursor cursor,
Strokes strokes,
Gesture[] gestures,
bool cancel
)
public:
InkEditGestureEventArgs(
Cursor^ cursor,
Strokes^ strokes,
array<Gesture^>^ gestures,
bool cancel
)
public InkEditGestureEventArgs(
Cursor cursor,
Strokes strokes,
Gesture[] gestures,
boolean cancel
)
public function InkEditGestureEventArgs(
cursor : Cursor,
strokes : Strokes,
gestures : Gesture[],
cancel : boolean
)
参数
- cursor
类型:Microsoft.Ink.Cursor
用于创建应用程序笔势 的 Cursor。
- strokes
类型:Microsoft.Ink.Strokes
组成应用程序笔势的 Strokes 集合。
- gestures
类型:array<Microsoft.Ink.Gesture[]
识别的 Gesture 对象的数组,按置信度的顺序排列。
- cancel
类型:System.Boolean
如果在 Gesture 事件处理程序中处理笔势,则设置为 true(默认值);否则为 false。
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0