AddControl
IControlCollection.AddControl-Methode
Erstellt und fügt der Sammlung ein neues Steuerelement hinzu.
public IControl AddControl(ControlType controlType, float x, float y, float width, float height)
Parameter | Typ | Beschreibung |
---|---|---|
controlType | ControlType | Typ des hinzuzufügenden Steuerelements. |
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 Steuerelement IControl
.
Siehe auch
- Interface IControl
- Enum ControlType
- Interface IControlCollection
- Namespace Aspose.Slides
- Assembly Aspose.Slides