InkRecognitionResult class

Applies to Windows only

Provides properties and methods to manage InkStroke handwriting recognition data.

Recognition results are produced for each word that is detected by an InkRecognizer. Accuracy is not guaranteed.

Syntax

Public NotInheritable Class InkRecognitionResult

Attributes

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

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

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

See also

Windows.UI.Input.Inking Classes
Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2014 Microsoft. All rights reserved.