Shapes.AddSmartArt method (Word)
Inserts the specified SmartArt graphic into the active document.
expression An expression that returns a 'Shapes' object.
|Layout||Required||[SMARTARTLAYOUT]||A SmartArtLayout object that specifies the layout for the SmartArt graphic.|
|Left||Optional||Variant||The distance, in points, from the left edge of the slide to the left edge of the SmartArt graphic.|
|Top||Optional||Variant||The distance, in points, from the top edge of the slide to the top edge of the SmartArt graphic.|
|Width||Optional||Variant||The width of the SmartArt graphic.|
|Height||Optional||Variant||The height of the SmartArt graphic.|
|Anchor||Optional||Variant||A Range object that represents the text to which the SmartArt graphic is bound. If Anchor is specified, the anchor is positioned at the beginning of the first paragraph in the anchoring range. If this argument is omitted, the anchoring range is selected automatically and the SmartArt graphic is positioned relative to the top and left edges of the page.|
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.