다음을 통해 공유


InkCollectorGestureEventArgs.Gestures 속성

업데이트: 2007년 11월

인식기에서 신뢰 수준 순서대로 나열된 Gesture 개체의 배열을 가져옵니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink(Microsoft.Ink.dll)

구문

‘선언
Public ReadOnly Property Gestures As Gesture()
‘사용 방법
Dim instance As InkCollectorGestureEventArgs
Dim value As Gesture()

value = instance.Gestures
public Gesture[] Gestures { get; }
public:
property array<Gesture^>^ Gestures {
    array<Gesture^>^ get ();
}
/** @property */
public Gesture[] get_Gestures()
public function get Gestures () : Gesture[]

속성 값

형식: array<Microsoft.Ink.Gesture[]
인식기에서 신뢰 수준 순서대로 나열된 Gesture 개체의 배열입니다.

설명

응용 프로그램 제스처에 대한 설명은 ApplicationGesture 열거형을 참조하십시오.

Gesture 이벤트는 인식기에서 응용 프로그램 제스처를 인식하는 경우에 발생합니다.

배열에는 시스템 제스처가 아닌 응용 프로그램 제스처에 대한 정보가 들어 있습니다. 제스처에 대한 자세한 내용은 Using Gestures을를 참조하십시오.

예제

이 C# 예제에서는 사용 가능한 제스처의 Id 값을 신뢰 수준 순서대로 TextBox인 theTextBox에 쓰는 InkCollectorGestureEventHandler를 만듭니다.

private void theInkCollector_Gesture(object sender,
    Microsoft.Ink.InkCollectorGestureEventArgs e)
{
  for (int i = 0; i < e.Gestures.Length; i++)
  {
    theTextBox.Text += e.Gestures[i].Id.ToString();
    if (i < e.Gestures.Length - 1)
      theTextBox.Text += ", ";
  }
}

이 Microsoft® Visual Basic® .NET 예제에서는 사용 가능한 제스처의 Id 값을 신뢰 수준 순서대로 TextBox인 theTextBox에 쓰는 InkCollectorGestureEventHandler를 만듭니다.

Public Sub theInkCollector_Gesture(ByVal sender As Object, ByVal e As InkCollectorGestureEventArgs) _
Handles theInkCollector.Gesture
  Dim i As Integer
  For i = 0 To e.Gestures.Length - 1
    theTextBox.Text += e.Gestures(i).Id.ToString()
    If i < e.Gestures.Length - 1 Then
      theTextBox.Text = theTextBox.Text + ", "
    EndIf
  Next
End Sub

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

InkCollectorGestureEventArgs 클래스

InkCollectorGestureEventArgs 멤버

Microsoft.Ink 네임스페이스

Gesture

Gesture.Id

InkCollector

InkCollector.Gesture