DiagramNode Members

Include Protected Members
Include Inherited Members

Represents a node in a diagram.

The DiagramNode type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Children Returns a DiagramNodeChildren object, representing the collection of child nodes of a particular node.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Diagram Returns a Diagram object representing a diagram.
Public property Layout Returns or sets a constant to indicate the formatting of the child nodes of an organization chart.
Public property Parent Returns the parent object for the specified object.
Public property Root Returns the root DiagramNode object which the root diagram node belongs.
Public property Shape Returns a Shape object that represents the shape attached to the specified diagram node
Public property TextShape Returns a Shape object representing the shape of the text box associated with a diagram node.

Top

Methods

  Name Description
Public method AddNode Creates a diagram node. Returns a DiagramNode object that represents the new node.
Public method CloneNode Clones a diagram node. Returns a DiagramNode object representing the cloned node.
Public method Delete Deletes the object.
Public method MoveNode Moves a diagram node and any of its child nodes within a diagram.
Public method NextNode Selects the next diagram node in a series of nodes. Returns a DiagramNode object representing the newly-selected node.
Public method PrevNode Returns a DiagramNode object that represents the previous diagram node in a collection of diagram nodes.
Public method ReplaceNode Replaces a target diagram node with the source diagram node.
Public method SwapNode Swaps the source diagram node with a target diagram node.
Public method TransferChildren Returns a Shape object representing the shape of the text box associated with a diagram node.

Top

See Also

Reference

DiagramNode Interface

Microsoft.Office.Interop.Excel Namespace