Bewerken

Delen via


DiagramNode.CloneNode(Boolean, DiagramNode, MsoRelativeNodePosition) Method

Definition

Clones a specified diagram node. Returns a DiagramNode object that represents the clone.

public Microsoft.Office.Interop.Word.DiagramNode CloneNode (bool copyChildren, out Microsoft.Office.Interop.Word.DiagramNode TargetNode = default, Microsoft.Office.Core.MsoRelativeNodePosition Pos = Microsoft.Office.Core.MsoRelativeNodePosition.msoAfterNode);
abstract member CloneNode : bool * DiagramNode * Microsoft.Office.Core.MsoRelativeNodePosition -> Microsoft.Office.Interop.Word.DiagramNode
Public Function CloneNode (copyChildren As Boolean, Optional ByRef TargetNode As DiagramNode = null, Optional Pos As MsoRelativeNodePosition = Microsoft.Office.Core.MsoRelativeNodePosition.msoAfterNode) As DiagramNode

Parameters

copyChildren
Boolean

Required Boolean. True to clone the diagram node's children as well.

TargetNode
DiagramNode

Optional DiagramNode object. The node where the new node will be placed.

Pos
MsoRelativeNodePosition

Optional MsoRelativeNodePosition. If TargetNode is specified, indicates where the node will be added relative to TargetNode.

Returns

Applies to