다음을 통해 공유


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
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  https://schemas.microsoft.com/winfx/2006/xaml/presentation

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration InkRecognizerCapabilities
'Usage
Dim instance As InkRecognizerCapabilities
[FlagsAttribute] 
public enum InkRecognizerCapabilities
[FlagsAttribute] 
public enum class InkRecognizerCapabilities
/** @attribute FlagsAttribute() */ 
public enum InkRecognizerCapabilities
FlagsAttribute 
public enum InkRecognizerCapabilities

Members

  Member name Description
AdviseInkChange Supports interrupting background recognition. For example, when the ink has changed. 
ArbitraryAngle Supports text written at arbitrary angles. 
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. 
DoNotCare Ignores all other flags that are set. 
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. 
FreeInput Supports free input, where ink is entered without the use of a recognition guide, such as a line or a box. 
Lattice Supports returning a Lattice object as an alternative to String for handwriting recognition results. 
LeftAndDown Supports handwriting input in left and down order, such as in Hebrew and Arabic languages. 
LinedInput Supports lined input, which is similar to writing on lined paper. 
None No capabilities specified. 
Object Supports object recognition; otherwise, recognizes only text. 
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 InkRecognizer to do the Line breaking and Word (or character) breaking. 
PrefersSegmentationRecognition Indicates that the InkAnalyzer will send the InkRecognizer individual ink words (or characters depending on the language) when recognizing, instead of sending entire lines of writing. 
RightAndDown Supports handwriting input in right and down order, such as in western languages and some East Asian languages. 
StrokeReorder Enforces stroke order, such as spatial and temporal, during a recognition operation. The InkAnalyzer does not reorder strokes before sending ink to the InkRecognizer

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.

Example

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 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

System.Windows.Ink Namespace