InkRecognizerContainer class

InkRecognizerContainer class

Provides properties and methods to manage one or more InkRecognizer objects used for handwriting recognition.

InkRecognizerContainer is null if a recognition engine is not available on the system.

Syntax


var inkRecognizerContainer = new Windows.UI.Input.Inking.InkRecognizerContainer();

Members

The InkRecognizerContainer class has these types of members:

Constructors

The InkRecognizerContainer class has these constructors.

ConstructorDescription
InkRecognizerContainer Creates a new InkRecognizerContainer object to manage InkRecognizer objects used for handwriting recognition.

 

Methods

The InkRecognizerContainer class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetRecognizers Gets the collection of installed handwriting recognizers.
RecognizeAsync Performs handwriting recognition on one or more InkStroke objects.
SetDefaultRecognizer Sets the default InkRecognizer used for handwriting recognition.

 

Remarks

If recognition is not required, use an InkStrokeContainer object instead of an InkManager. Previous recognition results are still available through GetRecognitionResults.

If only recognition is required, and not storage, use an InkRecognizerContainer instead of an InkManager.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(None)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object
IInkRecognizerContainer
Windows.UI.Input.Inking Classes
Ink stroke recognition
Samples
Ink sample
Simple ink sample
Complex ink sample

 

 

Show:
© 2016 Microsoft