Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.44 KB

Office.SmartArtNode.AddNode.md

File metadata and controls

53 lines (29 loc) · 1.44 KB
title api_name ms.assetid ms.date ms.localizationpriority
SmartArtNode.AddNode method (Office)
Office.SmartArtNode.AddNode
f3022423-4416-ab89-ff89-e6c46d65f42c
01/25/2019
medium

SmartArtNode.AddNode method (Office)

Adds a new SmartArtNode object to the data model in the way specified by the SmartArtNodePosition value, and of type SmartArtNodeType.

Syntax

expression.AddNode (Position, Type)

expression An expression that returns a SmartArtNode object.

Parameters

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.

Return value

SmartArtNode

Example

The following code adds a default SmartArtNode below the current node.

Dim saNode As SmartArtNode 
 
saNode = saNode.AddNode(msoSmartArtNodeBelow, msoSmartArtNodeTypeDefault)

See also

[!includeSupport and feedback]