ShapeCollection
Übersicht über die
ShapeCollection ist eine Klasse in Aspose.Slides für NET. Erben von: IShapeCollection.
Darstellt eine geordnete, veränderbare Sammlung von Objekten einer Folie oder Gruppe. Wraps das <p:spTree> XML-Element und bietet faulen Zugriff auf die Formwrapper mit Cache-Back-up.
Eigenschaften
| Name der Person | Typ der | Zugang zu den Informationen | Beschreibung |
|---|---|---|---|
ParentGroup | IGroupShape? | Lesen Sie . | Erhält oder setzt die Gruppenform, in der diese Sammlung enthalten ist. |
AsICollection | IList<IShape> | Lesen Sie . | Die Sammlung als IList von IShape liefert. |
AsIEnumerable | IEnumerable<IShape> | Lesen Sie . | Die Sammlung als IEnumerable von IShape liefert. |
Count | int | Lesen Sie . | Erhält die Anzahl der Formen in der Sammlung. |
Methoden und Verfahren
| Unterzeichnung | Beschreibung |
|---|---|
ShapeCollection() | Errichtet einen neuen leeren ShapeCollection |
ToArray() | Gibt eine Unterarche mit Startindex und Zählelementen zurück. |
ToArray(startIndex: int, count: int) | |
Reorder(index: int, shape: IShape) | Bewegt das Array von Formen zum Start am angegebenen Index |
Reorder(index: int, shapes: IShape[]) | |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Erstellt und fügt ein AutoShape des gegebenen Typs und der angegebenen Abmessungen an. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | Einfügt einen neuen AutoShape in den Index, optional mit einer Vorlage. |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Erstellt und fügt eine Steckverbinderform des gegebenen Typs und der angegebenen Abmessungen an. |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | |
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | Fügt eine Bildrahmenform zum angegebenen Bild hinzu |
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | |
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[]) | Fügt eine Tabelle in Position mit angegebenen Spaltenbreiten und Zeilenhöhen hinzu. |
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[]) | Einfügt eine Tabelle im Index mit angegebenen Position und Abmessungen. |
IndexOf(shape: IShape) | Gibt den Null-basierten Index der angegebenen Form zurück. |
RemoveAt(index: int) | Entfernt die Form am angegebenen Index |
Remove(shape: IShape) | Entfernt die angegebene Form aus der Sammlung |
Clear() | |
GetEnumerator() | Gibt einen Zähler für die Iteration der Formen zurück. |