InkAnalyzer Members
Provides access to layout analysis, writing and drawing classification, and handwriting recognition.
The following tables list the members exposed by the InkAnalyzer type.
Public Constructors
Name | Description | |
---|---|---|
InkAnalyzer | Initializes a new instance of the InkAnalyzer class associated with the specified Microsoft.Ink.Ink object. |
Top
Public Properties
Name | Description | |
---|---|---|
AnalysisModes | Gets or sets flags that control how the InkAnalyzer performs ink analysis. | |
DirtyRegion | Gets the area that has changed since the last analysis operation. | |
Ink | Gets the Ink object from which the InkAnalyzer can analyze stroke data. | |
IsAnalyzing | Gets a value indicating whether the InkAnalyzer is performing ink analysis. | |
RootNode | Gets the root ContextNode of the InkAnalyzer. | |
SynchronizingObject | Gets or sets the object that designates upon which thread InkAnalyzer background analysis events are raised. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Abort | Cancels the current analysis operation. | |
AddStroke | Overloaded. Adds a stroke to the InkAnalyzer. | |
AddStrokes | Overloaded. Adds a collection of strokes to the InkAnalyzer. | |
AddStrokesToCustomRecognizer | Adds stroke data for multiple strokes to a custom recognizer node. | |
AddStrokeToCustomRecognizer | Adds a stroke to a custom recognizer node. | |
Analyze | Performs synchronous ink analysis. | |
BackgroundAnalyze | Performs asynchronous ink analysis, which includes layout analysis, writing and drawing classification, and handwriting recognition. | |
ClearStrokeData | Clears the cached data from the InkAnalyzer for the specified Stroke. | |
CreateAnalysisHint | Overloaded. Adds a new analysis hint to the ink analyzer. | |
CreateCustomRecognizer | Creates a new CustomRecognizerNode for the analyzer. | |
DeleteAnalysisHint | Removes an AnalysisHintNode from the ink analyzer. | |
Dispose | Releases all resources used by the InkAnalyzer. | |
Equals | Overloaded. Overridden. Determines whether two InkAnalyzer instances contain the same value. | |
FindInkLeafNodes | Overloaded. Returns the ink leaf nodes, which are the ContextNode objects that contain ink strokes. | |
FindLeafNodes | Returns all of the leaf nodes, which are the ContextNode objects that have no child nodes. | |
FindNode | Returns the specified ContextNode. | |
FindNodes | Overloaded. Returns the ContextNode objects that match the specified criteria. | |
FindNodesOfType | Overloaded. Returns the ContextNode objects of the specified type. | |
GetAlternates | Overloaded. Returns analysis alternates for a specified context. | |
GetAnalysisHints | Overloaded. Returns analysis hints that are attached to the InkAnalyzer. | |
GetHashCode | Overridden. Gets the hash code for the InkAnalyzer instance. | |
GetInkRecognizersByPriority | Returns the ordered collection of recognizers. | |
GetNodesFromTextRange | Overloaded. Returns a collection of ContextNode objects that are relevant to the specified text range. | |
GetRecognizedString | Returns the best-result string of the recognition operation for the entire context node tree in the ink analyzer. | |
GetStrokeLanguageId | Returns the locale identifier of the specified Stroke. | |
GetStrokeType | Returns the type of a Stroke. | |
GetTextRangeFromNodes | Finds the text range in the recognized string that corresponds to a collection of ContextNode objects. | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
Load | Overloaded. Loads saved analysis results into the ink analyzer. | |
ModifyTopAlternate | Overloaded. Changes the current top alternate to the specified analysis alternate. | |
op_Equality | Determines whether two specified InkAnalyzer objects have the same value. | |
op_Inequality | Determines whether two specified InkAnalyzer objects have different values. | |
Reconcile | Overloaded. Determines which portions of the analysis results have changed during background ink analysis. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
RemoveStroke | Removes a Stroke from the ink analyzer. | |
RemoveStrokes | Removes a strokes collection from the ink analyzer. | |
SaveResults | Overloaded. Saves analysis results for an ink analyzer. | |
Search | Overloaded. Provides a fuzzy, case-insensitive phrase based search for analyzed writing strokes and analyzed drawing strokes that have recognized types. | |
SetStrokeLanguageId | Changes the locale identifier for the specified Stroke. | |
SetStrokesLanguageId | Changes the locale identifier for the specified Strokes. | |
SetStrokesType | Changes the type of each stroke in a Strokes collection. | |
SetStrokeType | Changes the stroke type of a Stroke. | |
ToString | Returns a String that represents the current Object. (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
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) | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
Public Events
Name | Description | |
---|---|---|
Activity | Occurs during calls to the Analyze or BackgroundAnalyze method. | |
ContextNodeCreated | Occurs after the InkAnalyzer creates a ContextNode. | |
ContextNodeDeleting | Occurs before the InkAnalyzer deletes a ContextNode. | |
ContextNodeLinkAdding | Occurs before the InkAnalyzer adds a ContextLink between two ContextNode objects. | |
ContextNodeLinkDeleting | Occurs before the InkAnalyzer deletes a ContextLink between two ContextNode objects. | |
ContextNodeMovingToPosition | Occurs before the InkAnalyzer moves a ContextNode to a new position within a ContextNode.SubNodes collection. | |
ContextNodePropertiesUpdated | Occurs after the InkAnalyzer updates one or more of the properties of a ContextNode. | |
ContextNodeReparenting | Occurs before the InkAnalyzer moves a ContextNode by changing its parent node. | |
InkAnalyzerStateChanging | Occurs before the InkAnalyzer reconciles analysis results so that an application can synchronize data with the InkAnalyzer. | |
IntermediateResultsUpdated | Occurs when the current intermediate analysis stage is finished. | |
NewStrokesLoaded | Occurs after a stroke is loaded into the InkAnalyzer. | |
PopulateContextNode | Occurs before the InkAnalyzer performs analysis within the region of a partially populated ContextNode. | |
ReadyToReconcile | Occurs when the ink analyzer is ready to reconcile background analysis results with the current state of the analyzer. | |
ResultsUpdated | Occurs when the final analysis stage is finished. | |
StrokesReparented | Occurs when the InkAnalyzer moves a Stroke from one ContextNode to another. |
Top
See Also
Reference
InkAnalyzer Class
Microsoft.Ink Namespace
Microsoft.Ink.AnalysisAlternate
Microsoft.Ink.AnalysisHintNode
Microsoft.Ink.AnalysisStatus
Microsoft.Ink.ContextLink
Microsoft.Ink.ContextNode