* 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
2.2 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| How to: Analyze Ink with Analysis Hints | 03/30/2017 |
|
|
d4421ed4-77f5-4640-829e-9f1de50b2ff2 |
How to: Analyze Ink with Analysis Hints
An System.Windows.Ink.AnalysisHintNode provides a hint for the System.Windows.Ink.InkAnalyzer to which it is attached. The hint applies to the area specified by the System.Windows.Ink.ContextNode.Location%2A property of the System.Windows.Ink.AnalysisHintNode and provides extra context to the ink analyzer to improve recognition accuracy. The System.Windows.Ink.InkAnalyzer applies this context information when analyzing ink obtained from within the hint's area.
Example
The following example is an application that uses multiple System.Windows.Ink.AnalysisHintNode objects on a form that accepts ink input. The application uses the System.Windows.Ink.AnalysisHintNode.Factoid%2A property to provide context information for each entry on the form. The application uses background analysis to analyze the ink and clears the form of all ink five seconds after the user stops adding ink.
[!code-xamlHowToAnalyzeInk#1]
[!code-csharpHowToAnalyzeInk#2] [!code-vbHowToAnalyzeInk#2]