InkAnalyzerBase Members

The following tables list the members exposed by the InkAnalyzerBase type.

Public Constructors

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

Top

Public Properties

  Name Description
Public property AnalysisModes Gets or sets flags that control how the ink analyzer performs ink analysis.
Public property DirtyRegion Gets the area that has changed since the last analysis operation. You can also use this property to manually modify this region.
Public property IsAnalyzing Gets a value indicating whether the ink analyzer is performing ink analysis.
Public property RootNode Gets the root ContextNodeBase of the ink analyzer's context node tree.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Abort Cancels the current analysis operation.
Public method AddStroke Overloaded. Adds stroke data for a single stroke to the ink analyzer.
Public method AddStrokes Overloaded. Adds stroke data for multiple strokes to the ink analyzer.
Public method AddStrokesToCustomRecognizer Adds stroke data for multiple strokes to a custom recognizer node.
Public method AddStrokeToCustomRecognizer Adds stroke data for a single stroke to a custom recognizer node.
Public method Analyze Performs synchronous ink analysis.
Public method BackgroundAnalyze Performs asynchronous ink analysis, which includes layout analysis, writing and drawing classification, and handwriting recognition.
Public method ClearStrokeData Clears stroke packet data from the ink analyzer.
Public method CreateAnalysisHint Overloaded. Adds a new analysis hint to the ink analyzer.
Public method CreateCustomRecognizer Creates a new custom recognizer node for the analyzer.
Public method DeleteAnalysisHint Removes an analysis hint from the ink analyzer.
Public method Dispose Releases all resources used by the InkAnalyzerBase.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindInkLeafNodes Overloaded. Returns the ink leaf nodes, which are the ContextNodeBase objects that contain ink strokes.
Public method FindLeafNodes Returns all of the leaf nodes, which are the ContextNodeBase objects that have no child nodes.
Public method FindNode Returns the specified ContextNodeBase.
Public method FindNodes Overloaded. Returns the ContextNodeBase objects that match the specified criteria.
Public method FindNodesOfType Overloaded. Returns the ContextNodeBase 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 InkAnalyzerBase.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetInkRecognizersByPriority Returns the ordered collection of recognizers.
Public method GetNodesFromTextRange Overloaded. Returns a collection of context nodes that are relevant to the specified text range.
Public method GetRecognizedString Returns the best-result string of the recognition operation for the entire context node tree in the ink analyzer.
Public method GetStrokeLanguageId Returns the locale identifier for the specified stroke.
Public method GetStrokeType Returns the type of the specified stroke.
Public method GetTextRangeFromNodes Finds the text range in the recognized string that corresponds to a collection of context nodes.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Load Loads saved analysis results into the ink analyzer.
Public method ModifyTopAlternate Overloaded. Changes the current top alternate to the specified analysis alternate.
Public method Reconcile Overloaded.  
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RemoveStroke Removes the specified stroke from the ink analyzer.
Public method RemoveStrokes Removes the specified strokes from the ink analyzer.
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 strokes.
Public method SetStrokesType Changes the type of the specified strokes.
Public method SetStrokeType Changes the type of the specified stroke.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method UpdateStrokeData Updates the packet data for the specified stroke.
Public method UpdateStrokesData Updates the packet data for the specified strokes.

Top

Protected Methods

  Name Description
Protected method CreateAppropriateRootElementBase This method supports the InkAnalyzer infrastructure and is not intended to be used directly from your code.
Protected method Finalize Overridden. Frees the resources of this InkAnalyzerBase before it is reclaimed by the garbage collector.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

Public Events

  Name Description
Public event ActivityBase Occurs during calls to the Analyze or BackgroundAnalyze method.
Public event ContextNodeCreatedBase Occurs after the ink analyzer creates a ContextNodeBase.
Public event ContextNodeDeletingBase Occurs before the ink analyzer deletes a ContextNodeBase.
Public event ContextNodeLinkAddingBase Occurs before the ink analyzer adds a ContextLinkBase between two ContextNodeBase objects.
Public event ContextNodeLinkDeletingBase Occurs before the ink analyzer deletes a ContextLinkBase between two ContextNodeBase objects.
Public event ContextNodeMovingToPositionBase Occurs before the ink analyzer moves a ContextNodeBase to a new position within its parent node's SubNodes collection.
Public event ContextNodePropertiesUpdatedBase Occurs after the ink analyzer updates one or more of the properties of a ContextNodeBase.
Public event ContextNodeReparentingBase Occurs before the ink analyzer moves a ContextNodeBase by changing its parent node.
Public event InkAnalyzerStateChangingBase Occurs before the ink analyzer reconciles analysis results so that an application can synchronize data with the ink analyzer.
Public event IntermediateResultsUpdatedBase Occurs when the current intermediate analysis stage is finished.
Public event NewStrokesLoadedBase Occurs when the Load method is called.
Public event PopulateContextNodeBase Occurs before the ink analyzer performs analysis within the region of a partially populated ContextNodeBase.
Public event ReadyToReconcileBase Occurs when the ink analyzer is ready to reconcile background analysis results with the current state of the analyzer.
Public event ResultsUpdatedBase Occurs when the final analysis stage is finished.
Public event StrokesReparentedBase Occurs when the InkAnalyzerBase moves strokes from one ContextNodeBase to another.
Public event UpdateStrokesCacheBase Occurs before the ink analyzer accesses stroke data.

Top

See Also

Reference

InkAnalyzerBase Class
System.Windows.Ink.AnalysisCore Namespace
System.Windows.Ink.AnalysisCore.AnalysisAlternateBase
System.Windows.Ink.AnalysisCore.AnalysisStatusBase
System.Windows.Ink.AnalysisCore.ContextLinkBase
System.Windows.Ink.AnalysisCore.ContextNodeBase