Table of contents
TOC
Collapse the table of content
Expand the table of content

Shapes.AddSmartArt Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
LayoutRequired[SMARTARTLAYOUT]The SmartArt diagram to add.
LeftOptionalSingleThe distance, in points, from the left edge of the slide to the left edge of the SmartArt diagram.
TopOptionalSingleThe distance, in points, from the top edge of the slide to the top edge of the SmartArt diagram.
WidthOptionalSingleThe width of the SmartArt diagram.
HeightOptionalSingleThe height of the SmartArt diagram.

Return Value

Shape

See also

Concepts

Shapes Object

© 2018 Microsoft