Partager via


InkAnalyzer.Reconcile Method

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

Overload List

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

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, 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 which 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 which 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