add_smart_art_placeholder method

add_smart_art_placeholder

Adds a new placeholder shape to the layout slide to hold a SmartArt diagram.

Returns

Created IAutoShape with a SmartArt placeholder.

def add_smart_art_placeholder(self, x, y, width, height):
    ...
ParameterTypeDescription
xfloatThe X coordinate of the new placeholder shape.
yfloatThe Y coordinate of the new placeholder shape.
widthfloatThe width of the new placeholder shape.
heightfloatThe height of the new placeholder shape.

Examples

The following example shows how to add the SmartArt placeholder shape to the layout slide.

See Also