Share via


InkRecognizerCapabilities Enumeration

Defines values that specify the attributes of an ink recognizer.

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

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration InkRecognizerCapabilities
'Usage
Dim instance As InkRecognizerCapabilities
[FlagsAttribute]
public enum InkRecognizerCapabilities
[FlagsAttribute]
public enum class InkRecognizerCapabilities
public enum InkRecognizerCapabilities

Members

Member name Description
None No capabilities specified.
DoNotCare Ignores all other flags that are set.
Object Supports object recognition; otherwise, recognizes only text.
FreeInput Supports free input, where ink is entered without the use of a recognition guide, such as a line or a box.
LinedInput Supports lined input, which is similar to writing on lined paper.
BoxedInput Supports boxed input, where each character or word is entered in a box.
CharacterAutoCompletionInput Supports character Autocomplete. Recognizers that support character Autocomplete require boxed input.
RightAndDown Supports handwriting input in right and down order, such as in western languages and some East Asian languages.
LeftAndDown Supports handwriting input in left and down order, such as in Hebrew and Arabic languages.
DownAndLeft Supports handwriting input in down and left order, such as in some East Asian languages.
DownAndRight Supports handwriting input in down and right order, such as in some East Asian languages.
ArbitraryAngle Supports text written at arbitrary angles.
Lattice Supports returning a Lattice object as an alternative to String for handwriting recognition results.
AdviseInkChange Supports interrupting background recognition, such as when the ink has changed.
StrokeReorder Supports that stroke order—spatial and temporal—is handled as part of the recognition operation. The InkAnalyzer does not reorder strokes before sending ink to the InkRecognizer.
Personalizable Supports personalized handwriting, where the recognizer improves recognition when exposed to the same handwriting over time.
PrefersArbitraryAngle Supports that the InkAnalyzer need not rotate the handwriting to a horizontal orientation before sending the ink to the InkRecognizer.
PrefersParagraphBreaking Indicates that the InkAnalyzer should send entire paragraphs of ink to the InkRecognizer, allowing the InkRecognizers to do the Line breaking and Word (or character) breaking.
PrefersSegmentationRecognition Indicates that the InkAnalyzer will send the InkRecognizer indvidual ink words (or characters depending on the language) when recognizing, instead of sending entire lines of writing.

Remarks

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values. Use this enumeration to find an installed ink recognizer that supports the attributes you need.

Examples

The following example demonstrates the InkRecognizerCapabilities enumeration.

' Get the first recognizer from the InkRecognizerCollection that supports 
' boxed input. 
Dim theFirstBoxedInputInkRecognizer As InkRecognizer = _
    myInkRecognizers.GetPriorityInkRecognizer( _
            InkRecognizerCapabilities.BoxedInput)
// Get the first recognizer from the InkRecognizerCollection that supports 
// boxed input.
InkRecognizer theFirstBoxedInputInkRecognizer =
    myInkRecognizers.GetPriorityInkRecognizer(
        InkRecognizerCapabilities.BoxedInput);

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

See Also

Reference

Microsoft.Ink Namespace