* Links: .NET Desktop - framework\wpf * Apply suggestions from code review Co-authored-by: Andy De George <[email protected]>
1.5 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| Handwriting Recognition | 03/30/2017 |
|
|
f4e8576d-e731-4bac-9818-22e2ae636636 |
Handwriting Recognition
This section discusses the fundamentals of recognition as it pertains to digital ink in the WPF platform.
Recognition Solutions
The following example shows how to recognize ink using the Microsoft.Ink.InkCollector class.
Note
This sample requires that handwriting recognizers be installed on the system.
Create a new WPF application project in Visual Studio called InkRecognition. Replace the contents of the Window1.xaml file with the following XAML code. This code renders the application's user interface.
[!code-xamlInkRecognition#1]
Add a reference to the Microsoft Ink assembly, Microsoft.Ink.dll, which can be found in \Program Files\Common Files\Microsoft Shared\Ink. Replace the contents of the code behind file with the following code.
[!code-csharpInkRecognition#2] [!code-vbInkRecognition#2]