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 Guid PrefixText
public static final var PrefixText : Guid
Not applicable.

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.

Example

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) ormyInkRecognizerGuideBaseByGuid(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 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