Ink​Recognition​Result Ink​Recognition​Result Ink​Recognition​Result 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 : IInkRecognitionResultpublic sealed class InkRecognitionResult : IInkRecognitionResultPublic NotInheritable Class InkRecognitionResult Implements IInkRecognitionResult
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

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
Value
Rect Rect Rect

The bounding rectangle of the ink strokes.

Attributes
See Also

Methods

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 )
Returns
IVectorView<InkStroke> IReadOnlyList<InkStroke> IReadOnlyList<InkStroke>

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

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

Attributes
See Also

See Also