Compartir a través de


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);
}
/** @property */
public AnalysisModes get_AnalysisModes ()

/** @property */
public void set_AnalysisModes (AnalysisModes value)
public function get AnalysisModes () : AnalysisModes

public function set AnalysisModes (value : AnalysisModes)
Not applicable.

Property Value

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

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

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