Shapes.AddSmartArt method (PowerPoint)
Adds a SmartArt diagram to the Shapes object.
Syntax
expression. AddSmartArt
( _Layout_
, _Left_
, _Top_
, _Width_
, _Height_
)
expression A variable that represents a Shapes object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Layout | Required | [SMARTARTLAYOUT] | The SmartArt diagram to add. |
Left | Optional | Single | The distance, in points, from the left edge of the slide to the left edge of the SmartArt diagram. |
Top | Optional | Single | The distance, in points, from the top edge of the slide to the top edge of the SmartArt diagram. |
Width | Optional | Single | The width of the SmartArt diagram. |
Height | Optional | Single | The height of the SmartArt diagram. |
Return value
Shape
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.