DiagramNode.MoveNode(DiagramNode, MsoRelativeNodePosition) Method

Definition

Moves a diagram node and any of its child nodes within a diagram.

public:
 void MoveNode(Microsoft::Office::Interop::Excel::DiagramNode ^ pTargetNode, Microsoft::Office::Core::MsoRelativeNodePosition pos);
public void MoveNode (Microsoft.Office.Interop.Excel.DiagramNode pTargetNode, Microsoft.Office.Core.MsoRelativeNodePosition pos);
Public Sub MoveNode (pTargetNode As DiagramNode, pos As MsoRelativeNodePosition)

Parameters

pTargetNode
DiagramNode

Required DiagramNode object. The diagram node where the specified node will be moved.

pos
MsoRelativeNodePosition

Required Microsoft.Office.Interop.Office.MsoRelativeNodePosiiton. The position to move the node, relative to TargetNode.MsoRelativeNodePosition can be one of these constants:msoAfterLastSiblingmsoAfterNodemsoBeforeFirstSiblingmsoBeforeNode

Applies to