Export (0) Print
Expand All

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)

public string GetShapeName()

Return Value

Type: System.String
Returns the name of the recognized shape of the InkDrawingNode.

An empty string is returned if the shape is not recognized.

This example takes the result of GetShapeName and puts it into the TextBox.Text property of a TextBox, selectedResultsTextBox.

					selectedResultsTextBox.Text = drawingNode.GetShapeName();

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft