Compartir a través de


InkAnalyzer.AnalysisModes Property

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

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  https://schemas.microsoft.com/winfx/2006/xaml/presentation

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 System.Windows.Ink.AnalysisModes enumeration values.

Example

This example initializes a new InkAnalyzer, theInkAnalyzer and sets the AnalysisModes property.

' Create the ink analyzer and enable automatic reconciliation and
' automatic stroke cache cleanup, but not intermediate results.
Dim theInkAnalyzer As New InkAnalyzer()

AddHandler theInkAnalyzer.ReadyToReconcile, AddressOf theInkAnalyzer_ReadyToReconcile
theInkAnalyzer.AnalysisModes = theInkAnalyzer.AnalysisModes And _
                               Not AnalysisModes.AutomaticReconciliationEnabled
// Create the ink analyzer and enable automatic reconciliation and
// automatic stroke cache cleanup, but not intermediate results.
InkAnalyzer theInkAnalyzer =
    new InkAnalyzer();

theInkAnalyzer.ReadyToReconcile += new ReadyToReconcileEventHandler(theInkAnalyzer_ReadyToReconcile);
theInkAnalyzer.AnalysisModes = theInkAnalyzer.AnalysisModes &
    ~AnalysisModes.AutomaticReconciliationEnabled;

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
System.Windows.Ink Namespace
System.Windows.Ink.AnalysisModes
InkAnalyzer.Analyze
InkAnalyzer.BackgroundAnalyze