Shapes.AddSmartArt (PowerPoint)

Adds a SmartArt diagram to the Shapes object.

AddSmartArt (Layout, Left, Top, Width, Height)


Dim shpAddSmartArt As Shape
Set shpAddSmartArt = ActivePresentation.SlideMaster.Shapes.AddSmartArt(Layout:=)

Arguments

The following argument is required

Layout (Office.SmartArtLayout) - The SmartArt diagram to add.

Optional arguments

The following arguments are optional

Left (Single) - The distance, in points, from the left edge of the slide to the left edge of the SmartArt diagram.

Top (Single) - The distance, in points, from the top edge of the slide to the top edge of the SmartArt diagram.

Width (Single) - The width of the SmartArt diagram.

Height (Single) - The height of the SmartArt diagram.