Sdílet prostřednictvím


InkRecognizerCollection Class

Contains InkRecognizer objects that represent the ability to recognize handwriting from various locales.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Class InkRecognizerCollection _
    Implements ICollection, IEnumerable
'Usage
Dim instance As InkRecognizerCollection
public class InkRecognizerCollection : ICollection, 
    IEnumerable
public ref class InkRecognizerCollection : ICollection, 
    IEnumerable
public class InkRecognizerCollection implements ICollection, IEnumerable

Remarks

The GetInkRecognizersByPriority method of the InkAnalyzer class returns an InkRecognizerCollection containing the ink recognizers available on the current Tablet PC.

For a language recognizer, the InkRecognizer.GetLanguages method returns a non-empty array. For both gesture recognizers and object recognizers, the GetLanguages method returns an empty array.

Examples

The following example gets the first InkRecognizer from the InkRecognizerCollection, theInkRecognizers.

' Get the first recognizer from the InkRecognizerCollection. 
Dim theFirstInkRecognizer As Microsoft.Ink.InkRecognizer = _
    theInkRecognizers.GetPriorityInkRecognizer()
            // Get the first recognizer from the InkRecognizerCollection.
            Microsoft.Ink.InkRecognizer theFirstInkRecognizer =
                theInkRecognizers.GetPriorityInkRecognizer();

Inheritance Hierarchy

System.Object
  Microsoft.Ink.InkRecognizerCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkRecognizerCollection Members

Microsoft.Ink Namespace

InkAnalyzer.GetInkRecognizersByPriority

Microsoft.Ink.InkRecognizer