Share via


AnalysisModes Enumeration

Specifies how the InkAnalyzer functions.

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

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration AnalysisModes
'Usage
Dim instance As AnalysisModes
[FlagsAttribute]
public enum AnalysisModes
[FlagsAttribute]
public enum class AnalysisModes
public enum AnalysisModes

Members

Member name Description
None No modes are enabled.
AutomaticReconciliationEnabled Specifies whether the InkAnalyzer automatically starts the reconciliation operation as soon as the intermediate or final results are ready. If this mode is enabled, the ReadyToReconcile event is not raised. If this mode is disabled, the ReadyToReconcile event is raised.
StrokeCacheAutoCleanupEnabled Specifies whether the InkAnalyzer automatically clears unneeded strokes from the stroke cache before performing analysis. If this mode is enabled, the InkAnalyzer clears the unneeded stroke data before performing analysis. If StrokeCacheAutoCleanupEnabled is disabled, the InkAnalyzer does not clear the stroke data. To clear the stroke data, call ClearStrokeData(Int32).
PersonalizationEnabled Specifies whether personalization is enabled.
Default All modes are enabled.

Remarks

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

Examples

The following example demonstrates the AnalysisModes enumeration.

myInkAnalyzer.AnalysisModes = myInkAnalyzer.AnalysisModes And _
                              Not AnalysisModes.StrokeCacheAutoCleanupEnabled
myInkAnalyzer.AnalysisModes = myInkAnalyzer.AnalysisModes &
    ~AnalysisModes.StrokeCacheAutoCleanupEnabled;

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

System.Windows.Ink Namespace