InkDrawingNode.GetShapeName Method
Returns the name of the recognized shape of the InkDrawingNode.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public Function GetShapeName As String
'Usage
Dim instance As InkDrawingNode
Dim returnValue As String
returnValue = instance.GetShapeName()
public string GetShapeName()
public:
String^ GetShapeName()
public function GetShapeName() : String
Return Value
Type: System.String
Returns the name of the recognized shape of the InkDrawingNode.
Remarks
An empty string is returned if the shape is not recognized.
Examples
This example takes the result of GetShapeName and puts it into the TextBox.Text property of a TextBox, selectedResultsTextBox.
selectedResultsTextBox.Text = drawingNode.GetShapeName()
selectedResultsTextBox.Text = drawingNode.GetShapeName();
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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