title | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|
SmartArtNode.AddNode method (Office) |
|
f3022423-4416-ab89-ff89-e6c46d65f42c |
01/25/2019 |
medium |
Adds a new SmartArtNode object to the data model in the way specified by the SmartArtNodePosition value, and of type SmartArtNodeType.
expression.AddNode (Position, Type)
expression An expression that returns a SmartArtNode object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Position | Optional | MsoSmartArtNodePosition | Specifies the location of the SmartArtNode in the data model; for example, msoSmartArtNodeAbove or msoSmartArtNodeAfter. |
Type | Optional | MsoSmartArtNodeType | Specifies the type of the added SmartArtNode; for example, msoSmartArtNodeTypeAssistant or msoSmartArtNodeTypeDefault. |
SmartArtNode
The following code adds a default SmartArtNode below the current node.
Dim saNode As SmartArtNode
saNode = saNode.AddNode(msoSmartArtNodeBelow, msoSmartArtNodeTypeDefault)
[!includeSupport and feedback]