Share via


PropertyGuidsForContextNodes.NodeData Field

Specifies the globally unique identifier (GUID) for getting or setting the GUID that represents the image data or text data on an image or a text word.

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

Syntax

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

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

Remarks

This field represents the image data or text data on a ContextNode of type Image or TextWord, respectively.

Examples

The following example checks for an existing NodeData in the ContainsPropertyData method of an AnalysisHintNode. If the NodeData field exists, the returned property data of type GUID populates myCustomRcognizer.

' Get the GUID that represents the image data or text data on an image or text word 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.NodeData) Then 

    Dim myNodeData As Guid = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.NodeData), Guid)
End If
// Get the GUID that represents the image data or text data on an image or text word 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.NodeData))
{
    Guid myNodeData =
        (Guid)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.NodeData);
}

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