AddVerticalContentPlaceholder
LayoutPlaceholderManager.AddVerticalContentPlaceholder Methode
Fügt der Layoutfolie eine neue Platzhalterform hinzu, um Inhalte wie ein Bild, eine Tabelle, Medien oder Text in vertikaler Richtung zu halten.
public IAutoShape AddVerticalContentPlaceholder(float x, float y, float width, float height)
Parameter | Typ | Beschreibung |
---|---|---|
x | Single | Die X-Koordinate der neuen Platzhalterform. |
y | Single | Die Y-Koordinate der neuen Platzhalterform. |
width | Single | Die Breite der neuen Platzhalterform. |
height | Single | Die Höhe der neuen Platzhalterform. |
Rückgabewert
Erstellt IAutoShape
mit einem Inhalts (Vertikal) Platzhalter.
Beispiele
Das folgende Beispiel zeigt, wie die Inhalts (Vertikal) Platzhalterform zur Layoutfolie hinzugefügt wird.
[C#]
using (Presentation pres = new Presentation())
{
ILayoutSlide layout = pres.LayoutSlides.GetByType(SlideLayoutType.Blank);
IAutoShape placeholder = layout.PlaceholderManager.AddVerticalContentPlaceholder(20, 20, 300, 500);
}
Siehe auch
- Interface IAutoShape
- Klasse LayoutPlaceholderManager
- Namespace Aspose.Slides
- Assembly Aspose.Slides