This documentation is archived and is not being maintained.

InkDrawingNode Class

Represents a ContextNode for a collection of strokes that make up a drawing. This class cannot be inherited.

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

public sealed class InkDrawingNode : ContextNode

Drawings are strokes that are determined to be shapes or abstract sketches. They are generally any strokes that are not classified as writing strokes.

An InkDrawingNode cannot have any children.

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

selectedResultsTextBox.Text = drawingNode.GetShapeName();


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0