Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/handwriting-recognition.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.6 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
Handwriting Recognition 03/30/2017
csharp
vb
handwriting recognition [WPF]
recognition of handwriting [WPF]
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]

See also