Expand Minimize

AnalysisModes Enumeration

Specifies how the InkAnalyzerBase functions.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

[FlagsAttribute]
public enum AnalysisModes

Member nameDescription
NoneNo modes are enabled.
AutomaticReconciliationEnabledSpecifies whether the InkAnalyzerBase automatically starts the reconciliation operation as soon as the intermediate or final results are ready. If this mode is enabled, the ReadyToReconcileBase event is not raised. If this mode is disabled, the ReadyToReconcileBase event is raised.
StrokeCacheAutoCleanupEnabledSpecifies whether the InkAnalyzerBase automatically clears unneeded strokes from the stroke cache before performing analysis. If this mode is enabled, the InkAnalyzerBase clears the stroke data before performing analysis. Your code must also then handle the UpdateStrokesCacheBase event. If the UpdateStrokesCacheBase event is not handled, an exception is raised. This check is done both at the Analyze (or BackgroundAnalyze) and Reconciliation phases. If this mode is disabled, the InkAnalyzerBase does not clear the stroke data. To clear the stroke data, call ClearStrokeData. If this mode is disabled, the UpdateStrokesCacheBase event is raised so the InkAnalyzerBase can retrieve the latest stroke data for any strokes that have had their cache cleared. If the stroke cache is cleared, but the UpdateStrokesCacheBase event is not handled, an exception is raised.
PersonalizationEnabledIndicates that personalization is enabled.
DefaultAll modes are enabled.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

The following example demonstrates the AnalysisModes enumeration.

// Need not handle UpdateStrokesCacheBase event
myInkAnalyzerBase.AnalysisModes = myInkAnalyzerBase.AnalysisModes &
    ~System.Windows.Ink.AnalysisCore.AnalysisModes.StrokeCacheAutoCleanupEnabled;

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft