Share via


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)

Syntax

'Declaration
Public NotInheritable Class InkDrawingNode _
    Inherits ContextNode
'Usage
Dim instance As InkDrawingNode
public sealed class InkDrawingNode : ContextNode
public ref class InkDrawingNode sealed : public ContextNode
public final class InkDrawingNode extends ContextNode

Remarks

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.

Examples

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

selectedResultsTextBox.Text = drawingNode.GetShapeName()
selectedResultsTextBox.Text = drawingNode.GetShapeName();

Inheritance Hierarchy

System.Object
  System.Windows.Ink.ContextNode
    System.Windows.Ink.InkDrawingNode

Thread Safety

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

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

InkDrawingNode Members

System.Windows.Ink Namespace