PropertyGuidsForAnalysisHints.WordMode Field
Specifies the globally unique identifier (GUID) for getting and setting the Boolean that represents the word mode of an analysis hint.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
Syntax
'Declaration
Public Shared ReadOnly WordMode As Guid
'Usage
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
Not applicable.
Remarks
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.
Example
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) ormyInkRecognizerGuideBaseByGuid
(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);
}
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForAnalysisHints Class
PropertyGuidsForAnalysisHints Members
System.Windows.Ink Namespace