AddControl
ControlCollection.AddControl method
Creates and adds a new control to the collection.
public IControl AddControl(ControlType controlType, float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
controlType | ControlType | Type of a control to add. |
x | Single | The X-coordinate for a left side of shape’s frame. |
y | Single | The Y-coordinate for a top side of shape’s frame. |
width | Single | The width of shape’s frame. |
height | Single | The height of shape’s frame. |
Return Value
Created control.
See Also
- interface IControl
- enum ControlType
- class ControlCollection
- namespace Aspose.Slides
- assembly Aspose.Slides