InkRecognitionResult InkRecognitionResult InkRecognitionResult InkRecognitionResult InkRecognitionResult Class

Definition

Provides properties and methods to manage InkStroke handwriting recognition data.

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

public : sealed class InkRecognitionResult : IInkRecognitionResult
struct winrt::Windows::UI::Input::Inking::InkRecognitionResult : IInkRecognitionResult
public sealed class InkRecognitionResult : IInkRecognitionResult
Public NotInheritable Class InkRecognitionResult Implements IInkRecognitionResult
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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

Properties

BoundingRect BoundingRect BoundingRect BoundingRect BoundingRect

Gets the bounding rectangle of the InkStroke data used for handwriting recognition.

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

Methods

GetStrokes() GetStrokes() GetStrokes() GetStrokes() GetStrokes()

Retrieves all ink strokes used for handwriting recognition.

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

GetTextCandidates() GetTextCandidates() GetTextCandidates() GetTextCandidates() GetTextCandidates()

Retrieves the collection of strings identified as potential matches for each word returned by handwriting recognition.

See Also