Share via


PropertyGuidsForContextNodes.RecognizedString Field

Specifies the globally unique identifier (GUID) for getting the String that represents the recognized string.

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

Syntax

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

value = PropertyGuidsForContextNodes.RecognizedString
public static readonly Guid RecognizedString
public:
static initonly Guid RecognizedString
public static final var RecognizedString : Guid

Remarks

The RecognizedString field represents the recognized string on a ContextNode of type InkBullet, InkWord, Line, Paragraph, Root, or WritingRegion.

Examples

The following example checks for an existing RecognizedString in the ContainsPropertyData method of an AnalysisHintNode. If the RecognizedString field exists, the returned property data of type String populates myRecognizedString.

' Get the recognized string 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.RecognizedString) Then 

    Dim myRecognizedString As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.RecognizedString))
End If
// Get the recognized string 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.RecognizedString))
{
    string myRecognizedString =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.RecognizedString);
}

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

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

System.Windows.Ink Namespace