Share via


SmartArtNodes.Add Method (Office)

Adds a new SmartArtNode object to the diagram with specified text.

Version Information

Version Added: Office 2010

Syntax

expression .Add

expression An expression that returns a SmartArtNodes object.

Return Value

SmartArtNode

Remarks

This new node is added to the bottom of the data model at the top most level for this collection of nodes. If the highest level was 2, then the new node’s level would then be 2 as well.

Example

The following code adds a SmartArtNode to the collection of SmartArtNodes.

Dim saNodes As SmartArtNodes 
saNodes.Add()

See Also

Concepts

SmartArtNodes Object Members

SmartArtNodes Object