IInkRecognitionResult interface (msinkaut.h)
Represents the result of the recognition. The results of recognizing handwritten ink are returned in an IInkRecognitionResult object.
The IInkRecognitionResult interface inherits from the IUnknown interface. IInkRecognitionResult also has these types of members:
The IInkRecognitionResult interface has these methods.
Gets the collection of strokes that are contained in an object or used to create an object. (IInkRecognitionResult.get_Strokes)
Gets the top alternate of the recognition result. (IInkRecognitionResult.get_TopAlternate)
Gets the top alternate of the recognition result. (IInkRecognitionResult.get_TopConfidence)
Gets the result text for the TopAlternate property.
Changes the top alternate of a recognition result by using the specified alternate.
Assigns the recognition results to the strokes that were used to create the results.
IInkRecognitionAlternate objects, or alternates, are created from the result. The best, or top, alternate is the one that is used by the default in the result. However, you can use the methods of the IInkRecognitionResult object to specify which alternates to use in the result.
System performance can suffer if recognition results are automatically assigned to every collection of stroke. Therefore, by default, results are not attached to a collection of strokes. You must call the SetResultOnStrokes method to assign results to a collection of strokes.
Not all recognizers set the TopConfidence property. When an application attempts to access a property that is not set by the recognizer, an argument exception is thrown.
If you define a class that implements this interface, the new class will not interact correctly with the Tablet PC application programming interfaces (APIs).
|Minimum supported client||Windows XP Tablet PC Edition [desktop apps only]|
|Minimum supported server||None supported|