Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 3.67 KB

inkmanager_recognizeasync_1912520635.md

File metadata and controls

36 lines (25 loc) · 3.67 KB
-api-id -api-type -api-device-family-note
M:Windows.UI.Input.Inking.InkManager.RecognizeAsync(Windows.UI.Input.Inking.InkStrokeContainer,Windows.UI.Input.Inking.InkRecognitionTarget)
winrt method
xbox

Windows.UI.Input.Inking.InkManager.RecognizeAsync

-description

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.

-parameters

-param strokeCollection

The set of strokes on which recognition is performed.

-param recognitionTarget

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.

-remarks

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

-examples

-see-also

RecognizeAsync(InkRecognitionTarget), GetTextCandidates, 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