add_content_placeholder method

add_content_placeholder

Adds a new placeholder shape to the layout slide to hold content, such as a picture, table, media or text.

Returns

Created IAutoShape with a Content placeholder.

def add_content_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.

See Also