Поделиться через


AnalysisHintNode.AllowPartialDictionaryTerms - свойство

Обновлен: Ноябрь 2007

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

Пространство имен:  System.Windows.Ink
Сборка:  IAWinFX (в IAWinFX.dll)

Синтаксис

'Декларация
Public Property AllowPartialDictionaryTerms As Boolean
'Применение
Dim instance As AnalysisHintNode
Dim value As Boolean

value = instance.AllowPartialDictionaryTerms

instance.AllowPartialDictionaryTerms = value
public bool AllowPartialDictionaryTerms { get; set; }
public:
property bool AllowPartialDictionaryTerms {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AllowPartialDictionaryTerms()
/** @property */
public  void set_AllowPartialDictionaryTerms(boolean value)
public function get AllowPartialDictionaryTerms () : boolean
public function set AllowPartialDictionaryTerms (value : boolean)

Значение свойства

Тип: 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 System.Windows.Ink.AnalysisWarningCode value of PartialDictionaryTermsNotSupported.

Примеры

This example creates an AnalysisHintNode (named theAnalysisHint) for the InkAnalyzer (named 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.
Dim theAnalysisHint As AnalysisHintNode = Me.theInkAnalyzerWithHint.CreateAnalysisHint()
theAnalysisHint.Location.MakeInfinite()

theAnalysisHint.AllowPartialDictionaryTerms = True
theAnalysisHint.Name = "Allow Partial Dictionary Terms"
// 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 Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

AnalysisHintNode Класс

AnalysisHintNode - члены

System.Windows.Ink - пространство имен