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 Guid NodeData
public static final var NodeData : Guid
Not applicable.
Remarks
This field represents the image data or text data on a ContextNode of type Image or TextWord, respectively.
Example
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 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
PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace