Windows Dev Center

InkRecognitionResult class

Provides properties and methods to manage InkStroke handwriting recognition data.

Recognition results are produced for each word detected by an InkRecognizer.

Syntax


Public NotInheritable Class InkRecognitionResult

Members

The InkRecognitionResult class has these types of members:

Methods

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

MethodDescription
GetStrokes Retrieves the InkStroke collection used for handwriting recognition.
GetTextCandidates Retrieves the collection of strings identified as potential matches for each word returned by handwriting recognition.

 

Properties

The InkRecognitionResult class has these properties.

PropertyAccess typeDescription

BoundingRect

Read-onlyGets the bounding rectangle of the InkStroke data used for handwriting recognition.

 

Remarks

JavaScript (usage)

var inkRecognitionResults = Windows.UI.Input.Inking.InkManager.getRecognitionResults();

var inkRecognitionResult = inkRecognitionResults[...];

var inkRecognitionResults =Windows.UI.Input.Inking.InkStrokeContainer.getRecognitionResults();

var inkRecognitionResult = inkRecognitionResults[...];

 

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(Agile)]
[Version(0x06020000)]

See also

Object
Windows.UI.Input.Inking Classes
Pen and stylus interactions
Samples
Ink sample
Simple ink sample
Complex ink sample

 

 

Show:
© 2015 Microsoft