Shape.SmartArt Property (Word)

Returns a SmartArt object that provides a way to work with the SmartArt associated with the specified shape. Read-only.

Syntax

expression. SmartArt

expression A variable that represents a 'Shape' object.

Remarks

The SmartArt property provides an entry point for interacting with a SmartArt graphic associated with the shape.

Example

The following code example adds a SmartArt graphic to the active document.

Dim myShape As Shape 
Dim mySmartArt As SmartArt 
 
Set myShape = ActiveDocument.Shapes.AddSmartArt(Application.SmartArtLayouts(1), 100, 100, 400, 400) 
Set mySmartArt = myShape.SmartArt

See also

Shape Object