PropertyGuidsForAnalysisHints.WordMode - поле
Обновлен: Ноябрь 2007
Specifies the globally unique identifier (GUID) for getting and setting the Boolean that represents the word mode of an analysis hint.
Пространство имен: System.Windows.Ink
Сборка: IAWinFX (в IAWinFX.dll)
Синтаксис
'Декларация
Public Shared ReadOnly WordMode As Guid
'Применение
Dim value As Guid
value = PropertyGuidsForAnalysisHints.WordMode
public static readonly Guid WordMode
public:
static initonly Guid WordMode
public static final Guid WordMode
public static final var WordMode : Guid
Заметки
This field represents the word mode on a ContextNode of type AnalysisHint. Word mode determines whether the ink analyzer prioritizes single word recognition over multiple word recognition within the hint's area.
Примеры
The following example checks for an existing WordMode in the ContainsPropertyData method of an AnalysisHintNode. If the WordMode field exists, the returned Boolean value populates myWordMode (Visual Basic) or myInkRecognizerGuideBaseByGuid (C#).
' Determine whether the ink analyzer prioritizes
' single word results over multiple word results
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForAnalysisHints.WordMode) Then
Dim myInkRecognizerGuideBaseByGuid As Boolean = _
CBool(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForAnalysisHints.WordMode))
End If
// Determine whether the ink analyzer prioritizes single word results over multiple word results
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForAnalysisHints.WordMode))
{
bool myInkRecognizerGuideBaseByGuid =
(bool)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForAnalysisHints.WordMode);
}
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
PropertyGuidsForAnalysisHints Класс