Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 3.26 KB

iinkrecognizercontainer_recognizeasync_1912520635.md

File metadata and controls

33 lines (23 loc) · 3.26 KB
-api-id -api-type -api-device-family-note
M:Windows.UI.Input.Inking.IInkRecognizerContainer.RecognizeAsync(Windows.UI.Input.Inking.InkStrokeContainer,Windows.UI.Input.Inking.InkRecognitionTarget)
winrt method
xbox

Windows.UI.Input.Inking.IInkRecognizerContainer.RecognizeAsync

-description

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

-remarks

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

-examples

-see-also

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