Ink Analysis Classes and Interfaces

This section contains information about the interfaces and classes used in ink analysis. The ink analysis classes and interfaces are not Automation-compliant.

Classes

Class Description
AnalysisRegion Implements the IAnalysisRegion interface.
InkAnalyzer Implements the IInkAnalyzer interface.

Interfaces

Interface Description
IAnalysisAlternate Represents the possible handwriting recognition word matches for IContextNode objects.
IAnalysisAlternates Contains a collection of objects that implement the IAnalysisAlternate interface and that are the result of ink analysis.
IAnalysisRegion Exposes methods and properties for a region that represents an area of a document.
IAnalysisStatus Represents the status of the ink analysis operation by describing whether the analysis was completed successfully and whether any warnings occurred.
IAnalysisWarning Represents a warning or error that occurs during an ink analysis operation.
IAnalysisWarnings Contains a collection of objects that implement the IAnalysisWarning interface and that are the result of an ink analysis operation.
IContextLink Represents a relationship between two IContextNode objects.
IContextLinks Contains a collection of objects that implement the IContextLink interface.
IContextNode Represents a node in a tree of objects that are created as part of ink analysis.
IContextNodes Contains a collection of objects that implement the IContextNode interface and that are the result of an ink analysis operation.
IInkAnalysisRecognizer Provides access to handwriting recognizers for use with ink analysis.
IInkAnalysisRecognizers Contains a collection of objects that implement the IInkAnalysisRecognizer interface and that represent the ability to recognize handwriting, objects, or gestures.
IInkAnalyzer Provides access to layout analysis, writing and drawing classification, and handwriting recognition.
IMatchesCriteriaCallBack Exposes a method to evaluate whether an IContextNode object meets or fails a specified criteria.

Return Values

Methods in the Tablet PC COM Library return values of HRESULT. Unless otherwise noted, the meanings of the HRESULT values are described in this table.

HRESULT value Description
S_OK
Success.
E_POINTER
At least one pointer (for either an input or an output parameter) is invalid.
E_INVALIDARG
Member attempted to pass in an invalid argument.
E_INK_EXCEPTION
Exception occurred.
E_OUTOFMEMORY
System cannot allocate memory to complete the operation.
E_FAIL
Unspecified failure occurred.
E_INVALIDOPERATION
Member attempted to use an invalid operation.
TPC_E_INVALID_MODE
Member attempted to use an invalid mode.
TPC_E_INVALID_CONFIGURATION
Member attempted to use an invalid configuration.
TPC_E_INVALID_PACKET_DESCRIPTION
Member attempted to use an invalid packet description.

Ink Analysis Reference