AddControl
ControlCollection.AddControl Methode
Erstellt und fügt ein neues Steuerungselement zur Sammlung hinzu.
public IControl AddControl(ControlType controlType, float x, float y, float width, float height)
Parameter | Typ | Beschreibung |
---|---|---|
controlType | ControlType | Typ des hinzuzufügenden Steuerungselements. |
x | Single | Die X-Koordinate für die linke Seite des Rahmens der Form. |
y | Single | Die Y-Koordinate für die obere Seite des Rahmens der Form. |
width | Single | Die Breite des Rahmens der Form. |
height | Single | Die Höhe des Rahmens der Form. |
Rückgabewert
Erstelltes Steuerungselement.
Siehe auch
- interface IControl
- enum ControlType
- class ControlCollection
- namespace Aspose.Slides
- assembly Aspose.Slides