RecognizerContext.CharacterAutoCompletion Property
Gets or sets the character Autocomplete mode, which determines when characters or words are recognized.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Property CharacterAutoCompletion As RecognizerCharacterAutoCompletionMode
'Usage
Dim instance As RecognizerContext
Dim value As RecognizerCharacterAutoCompletionMode
value = instance.CharacterAutoCompletion
instance.CharacterAutoCompletion = value
public RecognizerCharacterAutoCompletionMode CharacterAutoCompletion { get; set; }
public:
property RecognizerCharacterAutoCompletionMode CharacterAutoCompletion {
RecognizerCharacterAutoCompletionMode get ();
void set (RecognizerCharacterAutoCompletionMode value);
}
public function get CharacterAutoCompletion () : RecognizerCharacterAutoCompletionMode
public function set CharacterAutoCompletion (value : RecognizerCharacterAutoCompletionMode)
Property Value
Type: Microsoft.Ink.RecognizerCharacterAutoCompletionMode
One of the RecognizerCharacterAutoCompletionMode values.
Remarks
Recognition can occur in Full mode (all strokes have been inputted), Prefix mode (partial input in specific order), or Random mode (partial input in random order).
For a list of the character Autocomplete mode values that you can use, see the RecognizerCharacterAutoCompletionMode enumeration type.
You cannot turn character Autocomplete off after it is set.
You must set the Guide property before using this property.
Some recognizers do not support character Autocomplete. The RecognizerCapabilities enumeration contains flags for features a recognizer can support. You can determine if the recognizer supports character Autocomplete by checking the value of the Recognizer object's Capabilities property.
Examples
This C# example sets the CharacterAutoCompletion property of the RecognizerContext, theRecognizerContext, to Random.
theRecognizerContext.CharacterAutoCompletion =
RecognizerCharacterAutoCompletionMode.Random;
This Microsoft® Visual Basic® .NET example sets the CharacterAutoCompletion property of the RecognizerContext, theRecognizerContext, to Random.
theRecognizerContext.CharacterAutoCompletion = _
RecognizerCharacterAutoCompletionMode.Random
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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