DiagramNode Members

Include Protected Members
Include Inherited Members

Represents a single diagram node within a diagram.

The DiagramNode type exposes the following members.

Methods

  Name Description
Public method AddNode Creates a diagram node, returning a DiagramNode object that represents the new diagram node. For conceptual diagrams, the DiagramNode object is added to the end of the shapes list.
Public method CloneNode Clones a specified diagram node. Returns a DiagramNode object that represents the clone.
Public method Delete Deletes the specified object.
Public method MoveNode Moves a diagram node and any of its child nodes within a diagram.
Public method NextNode Returns the next DiagramNode object in a collection of diagram nodes.
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 target diagram node with the source diagram node.
Public method TransferChildren Moves the child nodes of the source diagram node to the target (receiving) diagram node.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Children Returns a DiagramNodeChildren object that contains all of the children of the specified diagram node.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Diagram Returns a Diagram object to which a diagram node belongs.
Public property Layout Returns or sets a MsoOrgChartLayoutType constant to indicate the formatting of the child nodes in an organization chart.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Root Returns a DiagramNode object that represents the root diagram node to which the source diagram node belongs.
Public property Shape Returns a Shape object for the specified diagram node.
Public property TextShape Returns a Shape object that represents the shape of the text box associated with a diagram node.

Top

See Also

Reference

DiagramNode Interface

Microsoft.Office.Interop.Word Namespace