Share via


InkAnalyzer.AnalysisModes Property

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

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.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: System.Windows.Ink.AnalysisModes
A bitwise combination of the System.Windows.Ink.AnalysisModes enumeration values.

Examples

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 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

InkAnalyzer Class

InkAnalyzer Members

System.Windows.Ink Namespace

System.Windows.Ink.AnalysisModes

InkAnalyzer.Analyze

InkAnalyzer.BackgroundAnalyze