DiagramNode interface
Office 2013 and later
Represents a node in a diagram.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
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:
The DiagramNode object's AddNode, CloneNode, NextNode, or PrevNode methods or its Root property
The DiagramNodeChildren collection's AddNode or Item methods or FirstChild or LastChild properties
The DiagramNodes collection's Item method
The Shape object's or ShapeRange collection's DiagramNode property
A diagram node can terminate, or it can contain other child diagrams, child diagram nodes, or child shapes. Refer to these with the following:
Show: