Export (0) Print
Expand All

AnalysisHintNode.AllowPartialDictionaryTerms Property

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

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public bool AllowPartialDictionaryTerms { get; set; }
/** @property */
public boolean get_AllowPartialDictionaryTerms ()

/** @property */
public void set_AllowPartialDictionaryTerms (boolean value)

public function get AllowPartialDictionaryTerms () : boolean

public function set AllowPartialDictionaryTerms (value : boolean)

Not applicable.

Property Value

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 System.Windows.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.
AnalysisHintNode theAnalysisHint =
    this.theInkAnalyzerWithHint.CreateAnalysisHint();
theAnalysisHint.Location.MakeInfinite();

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft