Sdílet prostřednictvím


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:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.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 InkAnalyzerBase does not reorder strokes before sending ink to the InkRecognizerBase.
Personalizable Supports personalized handwriting, where the recognizer improves recognition when exposed to the same handwriting over time.
PrefersArbitraryAngle Supports an option available under the InkAnalyzerBase - of not rotating handwriting to a horizontal orientation before sending the ink to the InkRecognizer.
PrefersParagraphBreaking Indicates that the InkAnalyzerBase should send entire paragraphs of ink to the InkRecognizerBase, allowing the InkRecognizerBase instances to do the line breaking and word (or character) breaking.
PrefersSegmentationRecognition Recognizes only one word or character per recognition operation. The InkAnalyzerBase performs segmentation on the handwriting and sends only one segment at a time to the InkRecognizerBase.

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 InkRecognizerBase = _
    myInkRecognizers.GetPriorityInkRecognizer( _
            System.Windows.Ink.AnalysisCore.InkRecognizerCapabilities.BoxedInput)
// Get the first recognizer from the InkRecognizerCollection that supports 
// boxed input.
InkRecognizerBase theFirstBoxedInputInkRecognizer =
    myInkRecognizers.GetPriorityInkRecognizer(
        System.Windows.Ink.AnalysisCore.InkRecognizerCapabilities.BoxedInput);

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

System.Windows.Ink.AnalysisCore Namespace