InkRecognizerContainer.RecognizeAsync Method
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.
public:
virtual IAsyncOperation<IVectorView<InkRecognitionResult ^> ^> ^ RecognizeAsync(InkStrokeContainer ^ strokeCollection, InkRecognitionTarget recognitionTarget) = RecognizeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkStrokeContainer const& strokeCollection, InkRecognitionTarget const& recognitionTarget);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<InkRecognitionResult>> RecognizeAsync(InkStrokeContainer strokeCollection, InkRecognitionTarget recognitionTarget);
function recognizeAsync(strokeCollection, recognitionTarget)
Public Function RecognizeAsync (strokeCollection As InkStrokeContainer, recognitionTarget As InkRecognitionTarget) As IAsyncOperation(Of IReadOnlyList(Of InkRecognitionResult))
Parameters
- strokeCollection
- InkStrokeContainer
The set of strokes on which recognition is performed.
- recognitionTarget
- InkRecognitionTarget
One of the values from the InkRecognitionTarget enumeration.
Returns
The results of the recognition as a collection of InkRecognitionResult objects.Each item in the collection represents a written word. For example, the string "this is a test" contains four words that are stored as a collection of four items.
Implements
- Attributes
Remarks
Because RecognizeAsync does not automatically update the existing recognition results stored in the InkManager, typically UpdateRecognitionResults is called after RecognizeAsync has completed.
Applies to
See also
- GetTextCandidates()
- Ink stroke recognition
- 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