Export (0) Print
Expand All
Expand Minimize

RecognitionModes Enumeration

Defines values that specify how the recognizer interprets the ink and determines the result string. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

public enum RecognitionModes

Member nameDescription
NoneSpecifies that the recognizer applies no recognition modes.
WordModeSpecifies that the recognizer treats the ink as a single word. For example, if the context contains "to get her", the recognizer returns "together".
TopInkBreaksOnlyDisables multiple segmentation. This turns off the recognizer's ability to return recognition results based on more than one recognition segment of the ink, where each segment corresponds to a word (in recognizers of Latin script) or a character (in recognizers of East Asian characters). The word "together" always returns alternates based on "together" being a single word, and the recognizer does not consider the string might also be "to get her" or some other variation with differing segmentation. Turning on this flag enhances recognition speed.
CoerceSpecifies that the recognizer coerces the result based on the factoid that you specified for the context. For example, if the Telephone factoid is specified and the user enters the word hello, the recognizer may return a random phone number or an empty string. If this flag is not specified, the recognizer returns hello as the result. Input scopes and factoids are restrictions on the word level alternates; character alternates may be outside the input scope specified even when COERCE is on.
PrefixOkApply partial word recognition.
LineModeSpecifies that no line breaking occurs inside the recognizer and all of the ink is recognized as one line.
DisablePersonalizationDisables personalization on the recognizer.
AutoSpaceSpecifies the recognizer should perform auto-spacing.

NoteNote:

Some compound words in the dictionary are treated as single words by recognizers of Latin script. For example, recognizers of Latin script treat "Los Angeles" as a single word if you use the WordMode flag. In addition, certain factoids—such as the Date Factoid in English (United Kingdom), English (United States), German, and French—treat some multiple word dates as single words. For example, these recognizers treat "January 21, 2000" as a single word if you use the WordMode flag.

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft