InkManager.RecognizeAsync InkManager.RecognizeAsync InkManager.RecognizeAsync InkManager.RecognizeAsync InkManager.RecognizeAsync Method

Definition

Overloads

RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget)

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Performs handwriting recognition on one or more InkStroke objects.

RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget)

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Performs handwriting recognition on one or more InkStroke objects.

RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget) RecognizeAsync(InkRecognitionTarget)

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Performs handwriting recognition on one or more InkStroke objects.

public : IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkRecognitionTarget recognitionTarget)
IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkRecognitionTarget recognitionTarget) const;
public IAsyncOperation<IReadOnlyList<InkRecognitionResult>> RecognizeAsync(InkRecognitionTarget recognitionTarget)
Public Function RecognizeAsync(recognitionTarget As InkRecognitionTarget) As IAsyncOperation<IReadOnlyList<InkRecognitionResult>>(Of IVectorView)
Windows.UI.Input.Inking.InkManager.recognizeAsync(recognitionTarget).done( /* Your success and error handlers */ );

Parameters

recognitionTarget
InkRecognitionTarget InkRecognitionTarget InkRecognitionTarget

One of the values from the InkRecognitionTarget enumeration.

Returns

IAsyncOperation<IReadOnlyList<InkRecognitionResult>> IAsyncOperation<IReadOnlyList<InkRecognitionResult>> IAsyncOperation<IReadOnlyList<InkRecognitionResult>>

The results of the recognition as a collection of InkRecognitionResult objects. Each item in the results returned by recognition represents one written word. Each word is associated with a ranked list of text strings (retrieved through a call to GetTextCandidates ) as potential matches for the word.

Remarks

Because RecognizeAsync does not automatically update the existing recognition results stored in the InkManager, UpdateRecognitionResults is typically called after RecognizeAsync has completed.

See also

RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget) RecognizeAsync(InkStrokeContainer, InkRecognitionTarget)

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Performs handwriting recognition on one or more InkStroke objects.

public : IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkStrokeContainer strokeCollection, InkRecognitionTarget recognitionTarget)
IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkStrokeContainer strokeCollection, InkRecognitionTarget recognitionTarget) const;
public IAsyncOperation<IReadOnlyList<InkRecognitionResult>> RecognizeAsync(InkStrokeContainer strokeCollection, InkRecognitionTarget recognitionTarget)
Public Function RecognizeAsync(strokeCollection As InkStrokeContainer, recognitionTarget As InkRecognitionTarget) As IAsyncOperation<IReadOnlyList<InkRecognitionResult>>(Of IVectorView)
Windows.UI.Input.Inking.InkManager.recognizeAsync(strokeCollection, recognitionTarget).done( /* Your success and error handlers */ );

Parameters

strokeCollection
InkStrokeContainer InkStrokeContainer InkStrokeContainer

The set of strokes on which recognition is performed.

recognitionTarget
InkRecognitionTarget InkRecognitionTarget InkRecognitionTarget

One of the values from the InkRecognitionTarget enumeration.

Returns

IAsyncOperation<IReadOnlyList<InkRecognitionResult>> IAsyncOperation<IReadOnlyList<InkRecognitionResult>> IAsyncOperation<IReadOnlyList<InkRecognitionResult>>

The results of the recognition as a collection of InkRecognitionResult objects.Each item in the results returned by recognition represents one written word. Each word is associated with a ranked list of text strings (retrieved through a call to GetTextCandidates ) as potential matches for the word.

Remarks

Because RecognizeAsync does not automatically update the existing recognition results stored in the InkManager, UpdateRecognitionResults is typically called after RecognizeAsync has completed.

See also