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):
    ...
| Parameter | Type | Description | 
|---|---|---|
| x | float | The X coordinate of the new placeholder shape. | 
| y | float | The Y coordinate of the new placeholder shape. | 
| width | float | The width of the new placeholder shape. | 
| height | float | The height of the new placeholder shape. | 
Examples
The following example shows how to add the Content placeholder shape to the layout slide.
See Also
- class 
IAutoShape - class 
LayoutPlaceholderManager - module 
aspose.slides - library 
Aspose.Slides