PropertyGuidsForAnalysisHints.PrefixText Field
Specifies the globally unique identifier (GUID) for getting and setting the prefix text on an analysis hint.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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 ink analyzer analyzes the strokes in the hint as if they were a continuation of the characters of the prefix text.
This field represents the prefix text on a ContextNode of type AnalysisHint.
Examples
The following example demonstrates the PrefixText field.
' Get prefix text used for analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForAnalysisHints.PrefixText) Then
Dim myPrefixText = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForAnalysisHints.PrefixText), String)
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 Server 2008 R2, Windows Server 2008
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