Share via


PropertyGuidsForAnalysisHints.PrefixText Field

Specifies the globally unique identifier (GUID) for getting and setting the prefix text on an analysis hint.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
Public Shared ReadOnly PrefixText As Guid
'Usage
Dim value As Guid 

value = PropertyGuidsForAnalysisHints.PrefixText
public static readonly Guid PrefixText
public:
static initonly Guid PrefixText
public static final var PrefixText : Guid

Remarks

In languages that have spaces between words, if the prefix text does not end with a space, the InkAnalyzer analyzes the strokes in the hint as if they were a continuation of the characters of the prefix text.

The PrefixText field represents the prefix text on a ContextNode of type AnalysisHint.

Examples

The following example checks for an existing PrefixText in the ContainsPropertyData method of an AnalysisHintNode. If the PrefixText field exists, the returned property data of type String populates myPrefixText (Visual Basic) or myInkRecognizerGuideBaseByGuid (C#).

' Get prefix text used for analysis hint 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForAnalysisHints.PrefixText) Then 

    Dim myInkRecognizerGuideBaseByGuid As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.PrefixText))
End If
// Get prefix text used for analysis hint 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.PrefixText))
{
    string myInkRecognizerGuideBaseByGuid =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.PrefixText);
}

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