DiagramNode Interface
Represents a node in a diagram.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<GuidAttribute("000C0370-0000-0000-C000-000000000046")> _
Public Interface DiagramNode _
Inherits _IMsoDispObj
'Usage
Dim instance As DiagramNode
[GuidAttribute("000C0370-0000-0000-C000-000000000046")]
public interface DiagramNode : _IMsoDispObj
Remarks
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:
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.