Compartir a través de


InkEdit.Recognizer Property

Gets or sets the Recognizer object used by the InkEdit control.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Property Recognizer As Recognizer
'Usage
Dim instance As InkEdit
Dim value As Recognizer

value = instance.Recognizer

instance.Recognizer = value
public Recognizer Recognizer { get; set; }
public:
property Recognizer^ Recognizer {
    Recognizer^ get ();
    void set (Recognizer^ value);
}
/** @property */
public Recognizer get_Recognizer ()

/** @property */
public void set_Recognizer (Recognizer value)
public function get Recognizer () : Recognizer

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

Property Value

The recognizer used by the InkEdit control.

Remarks

The default recognizer that is returned is the default recognizer for the active input locale. To select the active input locale, in the Regional and Language Options in Control Panel, on the Languages tab, users click Details, and then select the Default input language.

This property is only available at run time.

This property should be changed only if the Status property returns the InkEditStatus enumeration value, Idle.

If a factoid is used for the InkEdit control, it must be reapplied after setting the Recognizer property.

Example

This C# example gets the recognizer that is used by the InkEdit control, theInkEdit.

InkEdit theInkEdit = new InkEdit();
Recognizer theRecognizer = theInkEdit.Recognizer;

This Microsoft® Visual Basic® .NET example gets the recognizer that is used by the InkEdit control, theInkEdit.

Dim theInkEdit As New InkEdit()
Dim theRecognizer As Recognizer = theInkEdit.Recognizer

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

InkEdit Class
InkEdit Members
Microsoft.Ink Namespace
Recognizer