Freigeben über


Recognizer Class

Recognizer Class

Represents the ability to process ink, or handwriting, and translate the strokes into text or gestures. The recognizer creates a RecognizerContext object, which is used to perform the actual handwriting recognition.

Definition

Visual Basic .NET Public Class Recognizer
Inherits Object
C# public class Recognizer : Object
Managed C++ public __gc class Recognizer : public Object

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
CreateRecognizerContext Creates a new RecognizerContext object for this Recognizer object.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
ToString Returns a string that represents the current Recognizer object.

Properties

Property Description
Capabilities Gets the capabilities of the Recognizer object.
Languages Gets an array of language identifiers for the languages that the Recognizer object supports.
Name Gets the name of the Recognizer object.
PreferredPacketDescription Gets an array of type Guid Leave Site that represents the preferred packet properties for the recognizer.
SupportedProperties Gets an array of type Guid Leave Site that describe the properties that the Recognizer object supports.
Vendor Gets the vendor name of the Recognizer object.

Inheritance Hierarchy

Object Leave Site

Recognizer

Remarks

A recognizer has specific attributes and properties that allow it to perform recognition. The properties of a recognizer must be determined before recognition can occur. The types of properties that a recognizer supports determine the types of recognition it can perform. For instance, if a recognizer doesn't support cursive handwriting, it returns inaccurate results when a user writes in cursive.

A recognizer also has built-in functionality that automatically manages many aspects of handwriting. For instance, it determines the metrics for the lines on which strokes are drawn. You can return the line number of a stroke, but you never need to specify how those line metrics are determined because of the built-in functionality of the recognizer.

For more information about recognition, see About Recognition.

Class Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also