Share via


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 var WordMode : Guid

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.

Examples

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);
}

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForAnalysisHints Class

PropertyGuidsForAnalysisHints Members

System.Windows.Ink Namespace