Compartir a través de


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:

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.

See Also

Reference

DiagramNode Members

Microsoft.Office.Interop.Excel Namespace