Edytuj

Udostępnij za pośrednictwem


SmartArtNode.AddNode(MsoSmartArtNodePosition, MsoSmartArtNodeType) Method

Definition

Adds a new SmartArt node to the data model in the way specified by the Position value, and Type.

public Microsoft.Office.Core.SmartArtNode AddNode (Microsoft.Office.Core.MsoSmartArtNodePosition Position = Microsoft.Office.Core.MsoSmartArtNodePosition.msoSmartArtNodeDefault, Microsoft.Office.Core.MsoSmartArtNodeType Type = Microsoft.Office.Core.MsoSmartArtNodeType.msoSmartArtNodeTypeDefault);
abstract member AddNode : Microsoft.Office.Core.MsoSmartArtNodePosition * Microsoft.Office.Core.MsoSmartArtNodeType -> Microsoft.Office.Core.SmartArtNode
Public Function AddNode (Optional Position As MsoSmartArtNodePosition = Microsoft.Office.Core.MsoSmartArtNodePosition.msoSmartArtNodeDefault, Optional Type As MsoSmartArtNodeType = Microsoft.Office.Core.MsoSmartArtNodeType.msoSmartArtNodeTypeDefault) As SmartArtNode

Parameters

Position
MsoSmartArtNodePosition

Specifies the location of the SmartArtNode in the data model. For example, msoSmartArtNodeAbove or msoSmartArtNodeAfter.

Type
MsoSmartArtNodeType

Specifies the type of the added SmartArtNode. For example, msoSmartArtNodeTypeAssistant or msoSmartArtNodeTypeDefault.

Returns

Applies to