Udostępnij za pośrednictwem


InkManager.RecognizeAsync Method

Definition

Overloads

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)

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)

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:
 virtual IAsyncOperation<IVectorView<InkRecognitionResult ^> ^> ^ RecognizeAsync(InkRecognitionTarget recognitionTarget) = RecognizeAsync;
/// [Windows.Foundation.Metadata.Overload("RecognizeAsync2")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<InkRecognitionResult>> RecognizeAsync(InkRecognitionTarget const& recognitionTarget);
[Windows.Foundation.Metadata.Overload("RecognizeAsync2")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<InkRecognitionResult>> RecognizeAsync(InkRecognitionTarget recognitionTarget);
function recognizeAsync(recognitionTarget)
Public Function RecognizeAsync (recognitionTarget As InkRecognitionTarget) As IAsyncOperation(Of IReadOnlyList(Of InkRecognitionResult))

Parameters

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 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.

Attributes

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

Applies to

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:
 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 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.

Implements

Attributes

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

Applies to