Share via


InkAnalyzer.Reconcile Method

Include Protected Members
Include Inherited Members

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

Determines which portions of the analysis results have 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() Performs InkAnalyzer reconcilation.
Public method Reconcile(Int64) Performs InkAnalyzer reconcilation with a control over how long a reconcile operation takes.

Top

Remarks

By default, InkAnalyzer, performs reconciliation immediately before raising the IntermediateResultsUpdated and ResultsUpdated events

To disable automatic reconciliation, clear the AnalysisModes flag value AutomaticReconciliationEnabled in the analyzer's AnalysisModes property. 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 ink analyzer can continue to process the results or continue further analysis for the corresponding analysis stage.

During background analysis, another 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. Reconcile applies analysis results only to the analyzer's context node tree for the portions that have not changed during background analysis. Reconcile also adds area to the analyzer's DirtyRegion regions containing invalidated analysis results.

For more information about using the InkAnalyzer to analyze ink, see Ink Analysis Overview.

See Also

Reference

InkAnalyzer Class

InkAnalyzer Members

Microsoft.Ink Namespace