Share via


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
public class InkRecognizerCollection implements ICollection, IEnumerable
Not applicable.

Remarks

The System.Windows.Ink.InkAnalyzerBase.InkRecognizersByPriority property of InkAnalyzer 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.

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkRecognizerCollection Members
Microsoft.Ink Namespace
System.Windows.Ink.InkAnalyzerBase.InkRecognizersByPriority
Microsoft.Ink.InkRecognizer