InkAnalyzer Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

Provides access to layout analysis, writing and drawing classification, and handwriting recognition.

The InkAnalyzer type exposes the following members.

Constructors

  Name Description
Public method InkAnalyzer Overloaded. Initializes a new instance of the InkAnalyzer class.

Top

Methods

  Name Description
Public method Abort Cancels the current analysis operation.
Public method AddStroke Overloaded. Adds a stroke to the InkAnalyzer.
Public method AddStrokes Overloaded. Adds a collection of strokes to the InkAnalyzer.
Public method AddStrokesToCustomRecognizer Adds stroke data for multiple strokes to a custom recognizer node.
Public method AddStrokeToCustomRecognizer Adds a stroke to a custom recognizer node.
Public method Analyze Performs synchronous ink analysis, which includes: layout analysis, writing and drawing classification, and handwriting recognition.
Public method BackgroundAnalyze Performs asynchronous ink analysis, which includes: layout analysis, writing and drawing classification, and handwriting recognition.
Public method ClearStrokeData Clears the cached data from the InkAnalyzer for the specified Stroke.
Public method CreateAnalysisHint Overloaded. Adds a new analysis hint to the ink analyzer.
Public method CreateCustomRecognizer Creates a new CustomRecognizerNode for the analyzer.
Public method DeleteAnalysisHint Removes an AnalysisHintNode from the ink analyzer.
Public method Dispose Releases all resources used by the InkAnalyzer.
Public method Equals Determines whether the specified object is equal to the current InkAnalyzer. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindInkLeafNodes Overloaded. Returns ink leaf nodes that contain ink strokes, also known as ContextNode objects.
Public method FindLeafNodes Returns a ContextNodeCollection that contains all of the leaf nodes that are ContextNode objects without child nodes.
Public method FindNode Returns the specified ContextNode.
Public method FindNodes Overloaded. Returns a ContextNodeCollection containing ContextNode objects that match the specified criteria.
Public method FindNodesOfType Overloaded. Returns a ContextNodeCollection that contains the ContextNode objects of the specified type.
Public method GetAlternates Overloaded. Returns analysis alternates for a specified context.
Public method GetAnalysisHints Overloaded. Returns analysis hints that are attached to the InkAnalyzer.
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetInkRecognizersByPriority Returns the ordered collection of recognizers.
Public method GetNodesFromTextRange Overloaded. Returns a collection of ContextNode objects that are relevant to the specified text range.
Public method GetRecognizedString Returns the best-result string for the recognition operation used for the context node tree in the ink analyzer.
Public method GetStrokeLanguageId Returns the locale identifier of the specified Stroke.
Public method GetStrokeType Returns the type of a Stroke.
Public method GetTextRangeFromNodes Finds the text range in the recognized string that corresponds to a collection of ContextNode objects.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Load Overloaded. Loads saved analysis results into the ink analyzer.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ModifyTopAlternate Overloaded. Changes the current top alternate to the specified analysis alternate.
Public method Reconcile Overloaded. Reconciles portions of the analysis results that changed during background ink analysis.
Public method RemoveStroke Removes a Stroke from the ink analyzer.
Public method RemoveStrokes Removes a strokes collection from the InkAnalyzer.
Public method SaveResults Overloaded. Saves analysis results for an ink analyzer.
Public method Search Overloaded. Provides a fuzzy, case-insensitive phrase based search for analyzed writing strokes and analyzed drawing strokes that have recognized types.
Public method SetStrokeLanguageId Changes the locale identifier for the specified Stroke.
Public method SetStrokesLanguageId Changes the locale identifier for the specified StrokeCollection.
Public method SetStrokesType Changes the type of each stroke in a StrokeCollection.
Public method SetStrokeType Changes the stroke type of a Stroke.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two InkAnalyzer objects are equal.
Public operatorStatic member Inequality Determines whether two InkAnalyzer are unequal.

Top

Properties

  Name Description
Public property AnalysisModes Gets or sets flags that control how the InkAnalyzer performs ink analysis.
Public property DirtyRegion Gets the area that has changed since the last analysis operation.
Public property IsAnalyzing Gets a value indicating whether the InkAnalyzer is performing ink analysis.
Public property RootNode Gets the root ContextNode of the InkAnalyzer.
Public property SynchronizingObject Gets or sets the object that designates the thread upon which InkAnalyzer background analysis events are raised.

Top

Events

  Name Description
Public event Activity Occurs to indicate analysis is occurring in the Analyze or BackgroundAnalyze method.
Public event ContextNodeCreated Occurs after the InkAnalyzer creates a ContextNode.
Public event ContextNodeDeleting Occurs before the InkAnalyzer deletes a ContextNode.
Public event ContextNodeLinkAdding Occurs before the InkAnalyzer adds a ContextLink between two ContextNode objects.
Public event ContextNodeLinkDeleting Occurs before the InkAnalyzer removes a ContextLink from between two ContextNode objects.
Public event ContextNodeMovingToPosition Occurs before the InkAnalyzer moves a ContextNode to a new position within a ContextNode.SubNodes collection.
Public event ContextNodePropertiesUpdated Occurs after the InkAnalyzer updates one or more of the properties of a ContextNode.
Public event ContextNodeReparenting Occurs before the InkAnalyzer moves a ContextNode by changing its parent node.
Public event InkAnalyzerStateChanging Occurs before the InkAnalyzer reconciles analysis results so that an application can synchronize data with the InkAnalyzer.
Public event IntermediateResultsUpdated Occurs when the InkAnalyzer completes the current intermediate analysis stage.
Public event NewStrokesLoaded Occurs when the Load method is called.
Public event PopulateContextNode Occurs before the InkAnalyzer performs analysis within the region of a partially populated ContextNode.
Public event ReadyToReconcile Occurs when the ink analyzer is ready to reconcile background analysis results with the current state of the analyzer.
Public event ResultsUpdated Occurs when the final analysis stage has completed.
Public event StrokesReparented Occurs when the InkAnalyzer moves a Stroke from one ContextNode to another.

Top

See Also

Reference

InkAnalyzer Class

System.Windows.Ink Namespace