IAnalysisAlternate interface

Represents the possible handwriting recognition word matches for IContextNode objects.

Members

The IAnalysisAlternate interface inherits from the IUnknown interface. IAnalysisAlternate also has these types of members:

Methods

The IAnalysisAlternate interface has these methods.

Method Description
GetAlternateNodes Retrieves the IContextNode objects that are associated with this alternate.
GetRecognitionConfidence Retrieves a value that indicates the level of confidence that the IInkAnalyzer has in the accuracy of the IAnalysisAlternate.
GetRecognizedString Retrieves the recognized string value of the IAnalysisAlternate object.
GetStrokeIds Retrieves the stroke identifiers that are associated with this IAnalysisAlternate.

Remarks

There are many variations in users' handwriting. For that reason, handwriting recognizers can sometimes convert handwriting into text that is different from what the user intended. When an IInkAnalyzer performs analysis on a collection of strokes, the IInkAnalyzer finds the most likely set of words that the handwriting represents. In addition, the IInkAnalyzer also finds sets of alternative recognition matches, which are stored in an IAnalysisAlternates collection. In order for a user to take advantage of recognition alternates, you must create a user interface that allows the user to select the correct IAnalysisAlternate.

IAnalysisAlternate objects are generally obtained through IInkAnalyzer::GetAlternates Method. The first IAnalysisAlternate object in the collection is what the IInkAnalyzer considers to be the most likely alternate.

This interface is equivalent to System.Windows.Ink.AnalysisCore.AnalysisAlternateBase in the .NET Framework.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
IACom.h (also requires IACom_i.c)
DLL
IACom.dll

See also

IAnalysisAlternates

IInkAnalyzer::GetAlternatesForContextNodes Method

IInkAnalyzer::GetAlternatesForStrokes Method

IInkAnalyzer::GetAlternates Method

Ink Analysis Reference