This documentation is archived and is not being maintained.

AnalysisHintNode.AllowPartialDictionaryTerms Property

Gets or sets a value indicating whether the InkAnalyzer recognizes partial dictionary terms within the hint's area.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

public bool AllowPartialDictionaryTerms { get; set; }

Property Value

Type: System.Boolean
true if the InkAnalyzer recognizes partial dictionary terms within the hint's area; otherwise, false. The default is false.

A partial dictionary term is composed of the leading letters of a dictionary term. For example, if "hello" is a dictionary term and AllowPartialDictionaryTerms is true, then "h", "he", "hel", and "hell" are valid handwriting recognition results.

During analysis, if the ink recognizer applied to the strokes does not support partial dictionary terms, the ink analyzer generates an AnalysisWarning with its WarningCode property set to the Microsoft.Ink.AnalysisWarningCode value of PartialDictionaryTermsNotSupported.

This example creates an AnalysisHintNode, theAnalysisHint, for the InkAnalyzer, theInkAnalyzerWithHint, and makes theAnalysisHint a global hint. It then sets the AllowPartialDictionaryTerms and Name properties on the hint.

// Add a new, global analysis hint to theInkAnalyzerWithHint.
Microsoft.Ink.AnalysisHintNode theAnalysisHint =

theAnalysisHint.AllowPartialDictionaryTerms = true;
theAnalysisHint.Name = "Allow Partial Dictionary Terms";

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0