Ink​Recognition​Result Ink​Recognition​Result Ink​Recognition​Result Class


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 : IInkRecognitionResultpublic sealed class InkRecognitionResult : IInkRecognitionResultPublic NotInheritable Class InkRecognitionResult Implements IInkRecognitionResult
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)


JavaScript (usage)
var inkRecognitionResults = Windows.UI.Input.Inking.InkManager.getRecognitionResults(); var inkRecognitionResult = inkRecognitionResults[...];
var inkRecognitionResults =Windows.UI.Input.Inking.InkStrokeContainer.getRecognitionResults(); var inkRecognitionResult = inkRecognitionResults[...];

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


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.

public : Rect BoundingRect { get; }public Rect BoundingRect { get; }Public ReadOnly Property BoundingRect As Rect
Rect Rect Rect

The bounding rectangle of the ink strokes.

See Also


GetStrokes() GetStrokes() GetStrokes()

Retrieves all ink strokes used for handwriting recognition.

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

public : IVectorView<InkStroke> GetStrokes()public IReadOnlyList<InkStroke> GetStrokes()Public Function GetStrokes() As IReadOnlyList( Of InkStroke )
IVectorView<InkStroke> IReadOnlyList<InkStroke> IReadOnlyList<InkStroke>

The ink strokes used for handwriting recognition as a collection of InkStroke objects.

See Also

GetTextCandidates() GetTextCandidates() GetTextCandidates()

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

public : IVectorView<PlatForm::String> GetTextCandidates()public IReadOnlyList<string> GetTextCandidates()Public Function GetTextCandidates() As IReadOnlyList( Of string )
IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string>

The recognition matches as a collection of String objects. The most likely candidate is topmost in the collection.

See Also

See Also