DiagramNode interface

Represents a node in a diagram.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface DiagramNode : _IMsoDispObj

Use the AddNode method to add a node to a diagram or to a diagram node.

Use the Delete method to remove a node from a diagram or diagram node.

To return a DiagramNode object, use one of the following:

A diagram node can terminate, or it can contain other child diagrams, child diagram nodes, or child shapes. Refer to these with the following:

  • To refer to a child diagram, use the Diagram property.

  • To refer to an individual child diagram node, use the AddNode, CloneNode, NextNode or PrevNode methods or the Root property.

  • To refer to a collection of child diagram nodes, use the Children property.

  • To refer to a shape, use the Shape or TextShape properties.