PropertyGuidsForContextNodesBase.ShapeName Field
Specifies the globally unique identifier (GUID) used to get a String that represents the shape name on an ink drawing.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public Shared ReadOnly ShapeName As Guid
'Usage
Dim value As Guid
value = PropertyGuidsForContextNodesBase.ShapeName
public static readonly Guid ShapeName
public:
static initonly Guid ShapeName
public static final var ShapeName : Guid
Remarks
This field represents the name of the shape on a ContextNode of type InkDrawing.
Examples
The following example demonstrates the ShapeName field.
' Get the name of the shape on an ink drawing
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.ShapeName) Then
Dim myShapeName As String = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.ShapeName), String)
End If
// Get the name of the shape on an ink drawing
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.ShapeName))
{
string myShapeName =
(string)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.ShapeName);
}
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
PropertyGuidsForContextNodesBase Class