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 : IInkRecognitionResultpublic sealed class InkRecognitionResult : IInkRecognitionResultPublic NotInheritable Class InkRecognitionResult Implements IInkRecognitionResult// You can use this class in JavaScript.
- Attributes
| 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
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// You can use this property in JavaScript.
- See Also
Methods
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.
public : IVectorView<InkStroke> GetStrokes()public IReadOnlyList<InkStroke> GetStrokes()Public Function GetStrokes() As IReadOnlyList( Of InkStroke )// You can use this method in JavaScript.
The ink strokes used for handwriting recognition as a collection of InkStroke objects.
- See Also
GetTextCandidates() 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 )// You can use this method in JavaScript.
The recognition matches as a collection of String objects. The most likely candidate is topmost in the collection.
- See Also