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 ObjectC# 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 Determines whether two Object instances are equal. Inherited from Object . Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Inherited from Object . GetHashCode 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 . GetType Gets the Type of the current instance. Inherited from Object . MemberwiseClone Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . 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 that represents the preferred packet properties for the recognizer. SupportedProperties Gets an array of type Guid that describe the properties that the Recognizer object supports. Vendor Gets the vendor name of the Recognizer object.
Inheritance Hierarchy
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