Share via


InkAnalyzer.AnalysisModes Property

Gets or sets flags that control how the InkAnalyzer performs ink analysis.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Property AnalysisModes As AnalysisModes
'Usage
Dim instance As InkAnalyzer 
Dim value As AnalysisModes 

value = instance.AnalysisModes

instance.AnalysisModes = value
public AnalysisModes AnalysisModes { get; set; }
public:
property AnalysisModes AnalysisModes {
    AnalysisModes get ();
    void set (AnalysisModes value);
}
public function get AnalysisModes () : AnalysisModes 
public function set AnalysisModes (value : AnalysisModes)

Property Value

Type: Microsoft.Ink.AnalysisModes
A bitwise combination of the Microsoft.Ink.AnalysisModes enumeration values.

Examples

This example initializes a new InkAnalyzer, theInkAnalyzer. It then sets the AnalysisModes property and attaches a StrokeCacheAutoCleanupEnabled event handler.

// Create the ink analyzer and enable automatic reconciliation and 
// automatic stroke cache cleanup, but not intermediate results.
Microsoft.Ink.InkAnalyzer theInkAnalyzer =
    new Microsoft.Ink.InkAnalyzer(new Microsoft.Ink.Ink(), this);
theInkAnalyzer.AnalysisModes =
    Microsoft.Ink.AnalysisModes.AutomaticReconciliationEnabled
    | Microsoft.Ink.AnalysisModes.StrokeCacheAutoCleanupEnabled;

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

InkAnalyzer Class

InkAnalyzer Members

Microsoft.Ink Namespace

Microsoft.Ink.AnalysisModes

InkAnalyzer.Analyze

InkAnalyzer.BackgroundAnalyze