add_control method
add_control
Creates and adds a new control to the collection.
Returns
Created control IControl
.
def add_control(self, control_type, x, y, width, height):
...
Parameter | Type | Description |
---|---|---|
control_type | ControlType | Type of a control to add. |
x | float | The X-coordinate for a left side of shape’s frame. |
y | float | The Y-coordinate for a top side of shape’s frame. |
width | float | The width of shape’s frame. |
height | float | The height of shape’s frame. |
See Also
- enumeration
ControlType
- class
IControl
- class
IControlCollection
- module
aspose.slides
- library
Aspose.Slides