add_smart_art method

add_smart_art

Add SmartArt diagram.

Returns

Create SmartArt diagram

def add_smart_art(self, x, y, width, height, layout_type):
    ...
ParameterTypeDescription
xfloatThe X-coordinate for a left side of diagram’s frame.
yfloatThe Y-coordinate for a left side of diagram’s frame.
widthfloatThe width of diagram’s frame.
heightfloatThe height of diagram’s frame.
layout_typeSmartArtLayoutTypeThe type of SmartArt diagram

See Also