Condividi tramite


InkAnalyzer.IsAnalyzing Property

Gets a value indicating whether the InkAnalyzer is performing ink analysis.

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

Syntax

'Declaration
Public ReadOnly Property IsAnalyzing As Boolean
'Usage
Dim instance As InkAnalyzer
Dim value As Boolean

value = instance.IsAnalyzing
public bool IsAnalyzing { get; }
public:
property bool IsAnalyzing {
    bool get ();
}
/** @property */
public boolean get_IsAnalyzing ()
public function get IsAnalyzing () : boolean
Not applicable.

Property Value

true if the ink analyzer is performing ink analysis; otherwise, false.

Remarks

This property is true if the ink analyzer is performing synchronous or asynchronous analysis.

Example

This example starts background ink analysis on an InkAnalyzer, theInkAnalyzer, only if the ink analyzer is not currently performing ink analysis.

If Not theInkAnalyzer.IsAnalyzing Then
    Dim started As Boolean = theInkAnalyzer.BackgroundAnalyze()
End If
if (!theInkAnalyzer.IsAnalyzing)
{
    bool started = theInkAnalyzer.BackgroundAnalyze();
}

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
InkAnalyzer.Analyze
InkAnalyzer.BackgroundAnalyze