InkAnalyzer.Reconcile Method

Include Protected Members
Include Inherited Members

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

Reconciles portions of the analysis results that changed during background ink analysis.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Reconcile() Reconciles portions of the analysis results that changed during background ink analysis.
Public method Reconcile(Int64) Reconciles those portions of the analysis results that changed during background ink analysis in the specified amount of time.

Top

Remarks

During background analysis, the application thread can make changes in the analyzer's context node tree, such as adding or removing strokes and changing stroke data. Such changes can invalidate portions of the background analysis results. By default, InkAnalyzer, performs reconciliation immediately before raising the IntermediateResults and Results events. To disable automatic reconciliation, clear the AnalysisModes flag value, [F:System.Windows.Ink.AnalysisModes.AutomaticReconciliationEnabled,] in the InkAnalyzer.AnalysisModes property. The Reconcile method applies analysis results only to the analyzer's context node tree for unchanged portions during background analysis. Reconcile also adds area to the analyzer's DirtyRegion (this region contains invalidated analysis results).

The BackgroundAnalyze method throws an exception when automatic reconciliation is disabled and your application has not added an event handler for the ReadyToReconcile event. Your application must call the Reconcile method before the InkAnalyzer continues processing the results or analyzing the corresponding analysis stage.

Reconcile applies analysis results only to the analyzer's context node tree for unchanged portions during background analysis. Reconcile also adds area to the analyzer's DirtyRegion (this region contains invalidated analysis results).

For more information about analyzing ink with the InkAnalyzer, see Ink Analysis Overview.

See Also

Reference

InkAnalyzer Class

InkAnalyzer Members

System.Windows.Ink Namespace