DiagramNode.MoveNode(DiagramNode, MsoRelativeNodePosition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Required Microsoft.Office.Interop.Office.MsoRelativeNodePosiiton. The position to move the node, relative to TargetNode
.MsoRelativeNodePosition can be one of these constants:msoAfterLastSiblingmsoAfterNodemsoBeforeFirstSiblingmsoBeforeNode