Windows Dev Center

InkRecognizerContainer class

Provides properties and methods to manage one or more InkRecognizer objects.

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 that is used to manage InkRecognizer objects.

 

Methods

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

MethodDescription
GetRecognizers Gets a collection of InkRecognizer objects.
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

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

 

 

Show:
© 2015 Microsoft