Edytuj

Udostępnij za pośrednictwem


DiagramNode.SwapNode(DiagramNode, Boolean) Method

Definition

Swaps the source diagram node with a target diagram node.

public void SwapNode (Microsoft.Office.Interop.Excel.DiagramNode pTargetNode, bool swapChildren = false);
Public Sub SwapNode (pTargetNode As DiagramNode, Optional swapChildren As Boolean = false)

Parameters

pTargetNode
DiagramNode

Required DiagramNode object. The target diagram node to be replaced.

swapChildren
Boolean

Optional Boolean. The child nodes of the target and source nodes being swapped. Any child diagram nodes are moved along with their corresponding root nodes. Default is True, which swaps the child nodes.

Applies to