Share via


PropertyGuidsForContextNodes.ShapeName Field

Specifies the globally unique identifier (GUID) for getting String that represents the shape name on an ink drawing.

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

Syntax

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

value = PropertyGuidsForContextNodes.ShapeName
public static readonly Guid ShapeName
public:
static initonly Guid ShapeName
public static final Guid ShapeName
public static final var ShapeName : Guid
Not applicable.

Remarks

The ShapeName field represents the name of the shape on a ContextNode of type InkDrawing.

Example

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

' Get the name of the shape on an ink drawing
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.ShapeName) Then

    Dim myShapeName As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.ShapeName))
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 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