SmartArt.Nodes Property (Office)
Retrieves the children of the root node of the SmartArt diagram. Read-only
Version Information
Version Added: Office 2010
Syntax
expression .Nodes
expression An expression that returns a SmartArt object.
Remarks
The root node has no parent node and only contains children if there are children present in the SmartArt graphic’s data model. In the following example, the nodes A and F will be returned.
A
-
B
-
- C
D
-
-
- E
-
F
Example
The following code adds a top level node in Microsoft PowerPoint.
ActivePresentation.Slides(1).Shapes(1).SmartArt.Nodes.Add