AddControl()
ControlCollection::AddControl(ControlType, float, float, float, float) method
Creates and adds a new control to the collection.
System::SharedPtr<IControl> Aspose::Slides::ControlCollection::AddControl(ControlType controlType, float x, float y, float width, float height) override
Arguments
Parameter | Type | Description |
---|---|---|
controlType | 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. |
Return Value
Created control.
See Also
- Enum ControlType
- Typedef SharedPtr
- Class IControl
- Class ControlCollection
- Namespace Aspose::Slides
- Library Aspose.Slides