InkRecognitionResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides properties and methods to manage InkStroke handwriting recognition data.
Recognition results are produced for each word detected by an InkRecognizer.
public ref class InkRecognitionResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class InkRecognitionResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class InkRecognitionResult
Public NotInheritable Class InkRecognitionResult
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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[...]; |
Properties
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() |
Retrieves all ink strokes used for handwriting recognition. Recognition results are produced for each word that is detected by an InkRecognizer. |
GetTextCandidates() |
Retrieves the collection of strings identified as potential matches for each word returned by handwriting recognition. |
Applies to
See also
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample