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);
}
/** @property */
public RecognizerCharacterAutoCompletionMode get_CharacterAutoCompletion ()
/** @property */
public void set_CharacterAutoCompletion (RecognizerCharacterAutoCompletionMode value)
public function get CharacterAutoCompletion () : RecognizerCharacterAutoCompletionMode
public function set CharacterAutoCompletion (value : RecognizerCharacterAutoCompletionMode)
Not applicable.
Property Value
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.
Example
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 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
RecognizerContext Class
RecognizerContext Members
Microsoft.Ink Namespace
RecognizerCharacterAutoCompletionMode
RecognizerContext.Guide