IShapeCollection
Übersicht über die
IShapeCollection ist eine Schnittstelle in Aspose.Slides für NET. Erben von: IEnumerable<IShape>.
Darstellt eine geordnete, veränderbare Sammlung von Objekten einer Folie oder Gruppe.
Eigenschaften
| Name der Person | Typ der | Zugang zu den Informationen | Beschreibung |
|---|---|---|---|
ParentGroup | IGroupShape? | Lesen Sie . | Erhält die Gruppenform, die diese Sammlung enthält, falls vorhanden. |
AsICollection | IList<IShape> | Lesen Sie . | Die Formen als IList für den Sammlungsstilzugriff bereitstellt. |
AsIEnumerable | IEnumerable<IShape> | Lesen Sie . | Bietet die Formen als IEnumerable für Iteration an. |
Count | int | Lesen Sie . | Gibt die Anzahl der Formen in der Sammlung zurück |
Methoden und Verfahren
| Unterzeichnung | Beschreibung |
|---|---|
ToArray() | Ein Array, das alle Formen der Sammlung enthält. |
ToArray(startIndex: int, count: int) | Eine Matrix, die den angegebenen Bereich von Formen enthält. |
Reorder(index: int, shape: IShape) | Die Form, sich zu bewegen. |
Reorder(index: int, shapes: IShape[]) | Die Formen, die sich bewegen. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Die Autoshapes. |
AddAutoShape(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | Die Autoshapes. |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | Die Autoshapes. |
InsertAutoShape(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | Die Autoshapes. |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float) | Der geschaffene Anschluss. |
AddConnector(shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | Der geschaffene Anschluss. |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float) | Der geschaffene Anschluss. |
InsertConnector(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, createFromTemplate: bool) | Der geschaffene Anschluss. |
AddPictureFrame(shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | Der erstellte Bildrahmen. |
InsertPictureFrame(index: int, shapeType: ShapeType, x: float, y: float, width: float, height: float, image: IPPImage) | Der erstellte Bildrahmen. |
AddTable(x: float, y: float, columnWidths: double[], rowHeights: double[]) | Der erstellte Tisch. |
InsertTable(index: int, x: float, y: float, columnWidths: double[], rowHeights: double[]) | Der erstellte Tisch. |
IndexOf(shape: IShape) | Der Null-basierte Index oder -1 wenn die Form nicht in der Sammlung ist. |
RemoveAt(index: int) | Der Null-basierte Index der zu entfernenden Form. |
Remove(shape: IShape) | Die Form, die entfernt werden soll. |
Clear() | Entfernt alle Formen aus der Sammlung |