Compartilhar via


SmartArt.AllNodes Property (Office)

Retrieves a SmartArtNodes object containing all of the nodes within the SmartArt diagram. Read-only

Version Information

Version Added: Office 2010

Syntax

expression .AllNodes

expression An expression that returns a SmartArt object.

Remarks

The nodes are retrieved in order, independent of data model. For example, the following data model would retrieve the nodes in order A, B, C, D, E, F.

  • A

    • B

      • C
    • D

      • E
  • F

Example

The following example sets the text inside the first node.

smartart.AllNodes(1).TextFrame2.TextRange.Text="Node 1"

See Also

Concepts

SmartArt Object

SmartArt Object Members