Partager via


InkEdit.Recognizer Property

InkEdit.Recognizer Property

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

Definition

Visual Basic .NET Public Property Recognizer As Recognizer
C# public Recognizer Recognizer { get; set; }
Managed C++ public: __property Recognizer* get_Recognizer();
public: __property void set_Recognizer(Recognizer*);

Property Value

Microsoft.Ink.Recognizer. The recognizer used by the InkEdit control.

This property is read/write. This property has no default value.

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

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

Examples

[C#]

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

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

[Visual Basic .NET]

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

See Also