Assembly: Microsoft.Ink (in microsoft.ink.dll)
Property ValueValues that define the capabilities of the recognizer.
A recognizer's capabilities are defined in the RecognizerCapabilities enumeration, and they include whether the recognizer supports character Autocomplete; whether it supports free, lined, or boxed input; and so on. For a complete list of recognizer capabilities, see the RecognizerCapabilities enumeration.
To determine if a recognizer has a particular capability, use a bitwise comparison operator to check for that capability. For more information about how a bitwise comparison works, see the And Operator.
This C# example determines if the Recognizer object, theRecognizer, supports the RecognizerCapabilities capability.
using Microsoft.Ink; // . . . bool isArbitraryAngleSupported = false; RecognizerCapabilities theCapabilities = theRecognizer.Capabilities; if ((RecognizerCapabilities.ArbitraryAngle & theCapabilities) != 0) isArbitraryAngleSupported = true;
This Microsoft® Visual Basic® .NET example determines if the Recognizer, theRecognizer, supports the RecognizerCapabilities capability.
Imports Microsoft.Ink ' . . . Dim isArbitraryAngleSupported As Boolean = False Dim theCapabilities As RecognizerCapabilities theCapabilities = theRecognizer.Capabilities If (RecognizerCapabilities.ArbitraryAngle And theCapabilities) <> 0 Then isArbitraryAngleSupported = True End If
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.