Condividi tramite


IInkRecognizer Interface

IInkRecognizer Interface

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

Members

Enumeration Description
InkRecognizerCapabilities Defines values that specify the capabilities of the recognizer. Use this enumeration to determine which attributes to use when searching for an installed recognizer.
Method Description
CreateRecognizerContext Creates a new InkRecognizerContext for the IInkRecognizer.
Property Description
Capabilities Gets the capabilities of the IInkRecognizer object.
Languages Gets an array of language identifiers for the languages that the IInkRecognizer object supports.
Name Gets the name of the IInkRecognizer 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.

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.

COM Implementation

This object implements the IInkRecognizer COM interface.