AddControl()
IControlCollection::AddControl(ControlType, float, float, float, float) method
Creates and adds a new control to the collection.
virtual System::SharedPtr<IControl> Aspose::Slides::IControlCollection::AddControl(ControlType controlType, float x, float y, float width, float height)=0
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 IControl.
See Also
- Enum ControlType
- Typedef SharedPtr
- Class IControl
- Class IControlCollection
- Namespace Aspose::Slides
- Library Aspose.Slides