ShapeCollection
Inhalt
[
Ausblenden
]ShapeCollection-Klasse
Stellt eine Sammlung von Formen dar.
public sealed class ShapeCollection : DomObject<GroupShape>, IShapeCollection
Eigenschaften
Name | Beschreibung |
---|---|
Count { get; } | Gibt die Anzahl der tatsächlich in der Sammlung enthaltenen Elemente zurück. Nur-Lese Int32. |
IsSynchronized { get; } | Gibt einen Wert zurück, der angibt, ob der Zugriff auf die Sammlung synchronisiert (thread-sicher) ist. Nur-Lese Boolean. |
Item { get; } | Gibt das Element am angegebenen Index zurück. Nur-Lese IShape . |
ParentGroup { get; } | Gibt das übergeordnete GroupShape-Objekt für eine Formensammlung zurück. Nur-Lese IGroupShape . |
SyncRoot { get; } | Gibt eine Synchronisierungswurzel zurück. Nur-Lese Object. |
Methoden
Name | Beschreibung |
---|---|
AddAudioFrameCD(float, float, float, float) | Fügt ein AudioFrame mit CD an das Ende der Sammlung hinzu. |
AddAudioFrameEmbedded(float, float, float, float, IAudio) | Fügt ein neues Audio-Frame mit einer eingebetteten Audiodatei am Ende einer Sammlung hinzu. Es verwendet die Audiodatei aus der Liste Presentation.Audios. |
AddAudioFrameEmbedded(float, float, float, float, Stream) | Fügt ein neues Audio-Frame mit einer eingebetteten Audiodatei am Ende einer Sammlung hinzu. Die eingebettete Audiodatei kann nur WAV sein. Es fügt neue Audio in die Liste Presentation.Audios ein. |
AddAudioFrameLinked(float, float, float, float, string) | Fügt ein neues Audio-Frame mit einer verlinkten Audiodatei an das Ende der Sammlung hinzu. |
AddAutoShape(ShapeType, float, float, float, float) | Erstellt eine neue Autoform, passt sie vom Standard-Template an und fügt sie an das Ende der Sammlung hinzu. |
AddAutoShape(ShapeType, float, float, float, float, bool) | Erstellt eine neue Autoform und fügt sie an das Ende der Sammlung hinzu. |
AddChart(ChartType, float, float, float, float) | Erstellt ein neues Diagramm, initialisiert es mit Beispielseriendaten und Einstellungen und fügt es an das Ende der Sammlung hinzu. |
AddChart(ChartType, float, float, float, float, bool) | Erstellt ein neues Diagramm und fügt es an das Ende der Sammlung hinzu. |
AddClone(IShape) | Fügt eine Kopie einer angegebenen Form an das Ende der Sammlung hinzu. X, Y, Breite und Höhe der neuen Form sind gleich X, Y, Breite und Höhe der sourceShape. |
AddClone(IShape, float, float) | Fügt eine Kopie einer angegebenen Form an das Ende der Sammlung hinzu. Breite und Höhe der neuen Form sind gleich Breite und Höhe der sourceShape. |
AddClone(IShape, float, float, float, float) | Fügt eine Kopie einer angegebenen Form an das Ende der Sammlung hinzu. |
AddConnector(ShapeType, float, float, float, float) | Erstellt einen neuen Connector, passt ihn vom Standard-Template an und fügt ihn an das Ende der Sammlung hinzu. |
AddConnector(ShapeType, float, float, float, float, bool) | Erstellt einen neuen Connector und fügt ihn an das Ende der Sammlung hinzu. |
AddGroupShape() | Erstellt ein neues GroupShape und fügt es an das Ende der Sammlung hinzu. Die Größe und Position des GroupShape-Rahmens werden an den Inhalt angepasst, wenn eine neue Form in das GroupShape eingefügt wird. |
AddGroupShape(ISvgImage, float, float, float, float) | Erstellt ein neues GroupShape, füllt es mit konvertierten Formen aus SVG und fügt es an das Ende der Sammlung hinzu. |
AddMathShape(float, float, float, float) | Erstellt eine neue Autoform, die aus dem Standard-Template für mathematische Inhalte angepasst ist und fügt sie an das Ende der Sammlung hinzu. |
AddOleObjectFrame(float, float, float, float, IOleEmbeddedDataInfo) | Fügt ein neues OLE-Objekt am Ende einer Sammlung hinzu. |
AddOleObjectFrame(float, float, float, float, string, string) | Fügt ein neues OLE-Objekt am Ende einer Sammlung hinzu. |
AddPictureFrame(ShapeType, float, float, float, float, IPPImage) | Erstellt einen neuen PictureFrame und fügt ihn an das Ende der Sammlung hinzu. |
AddSectionZoomFrame(float, float, float, float, ISection) | Fügt ein neues Abschnitts-Zoom-Objekt an das Ende einer Sammlung hinzu. |
AddSectionZoomFrame(float, float, float, float, ISection, IPPImage) | Fügt ein neues Abschnitts-Zoom-Objekt an das Ende einer Sammlung mit einem vordefinierten Bild hinzu. |
AddSmartArt(float, float, float, float, SmartArtLayoutType) | Fügt ein SmartArt-Diagramm hinzu. |
AddSummaryZoomFrame(float, float, float, float) | Fügt ein neues Zusammenfassungs-Zoom-Objekt an das Ende einer Sammlung hinzu. |
AddTable(float, float, double[], double[]) | Erstellt eine neue Tabelle und fügt sie an das Ende der Sammlung hinzu. |
AddVideoFrame(float, float, float, float, IVideo) | Fügt ein neues Video-Frame am Ende einer Sammlung hinzu. |
AddVideoFrame(float, float, float, float, string) | Fügt ein neues Video-Frame am Ende einer Sammlung hinzu. |
AddZoomFrame(float, float, float, float, ISlide) | Fügt ein neues Zoom-Objekt an das Ende einer Sammlung hinzu. |
AddZoomFrame(float, float, float, float, ISlide, IPPImage) | Fügt ein neues Zoom-Objekt an das Ende einer Sammlung hinzu. |
Clear() | Entfernt alle Formen aus der Sammlung. |
CopyTo(Array, int) | Kopiert alle Elemente aus der Sammlung in das angegebene Array. |
GetEnumerator() | Gibt einen Enumerator zurück, der durch die Sammlung iteriert. |
IndexOf(IShape) | Gibt den nullbasierten Index des ersten Vorkommens einer Form in der Sammlung zurück. |
InsertAudioFrameCD(int, float, float, float, float) | Fügt ein AudioFrame mit CD ein. |
InsertAudioFrameEmbedded(int, float, float, float, float, IAudio) | Fügt ein AudioFrame mit eingebetteter Audiodatei ein. Es verwendet die Audiodatei aus der Liste Presentation.Audios. |
InsertAudioFrameEmbedded(int, float, float, float, float, Stream) | Fügt ein AudioFrame mit eingebetteter Audiodatei ein. Die eingebettete Audiodatei kann nur WAV sein. |
InsertAudioFrameLinked(int, float, float, float, float, string) | Erstellt ein neues Audio-Frame mit verlinkter Audiodatei und fügt es an einer bestimmten Stelle in der Sammlung ein. |
InsertAutoShape(int, ShapeType, float, float, float, float) | Erstellt eine neue Autoform, passt sie vom Standard-Template an und fügt sie an eine bestimmte Stelle in der Sammlung ein. Hinweis: Der Typ der Form wird durch den Parameter shapeType bestimmt. |
InsertAutoShape(int, ShapeType, float, float, float, float, bool) | Erstellt eine neue Autoform und fügt sie an eine bestimmte Stelle in der Sammlung ein. Hinweis: Der Typ der Form wird durch den Parameter shapeType bestimmt. |
InsertChart(ChartType, float, float, float, float, int) | Erstellt ein neues Diagramm, initialisiert es mit Beispielseriendaten und Einstellungen und fügt es an die angegebene Position in der Sammlung ein. |
InsertChart(ChartType, float, float, float, float, int, bool) | Erstellt ein neues Diagramm und fügt es an die angegebene Position in der Sammlung ein. |
InsertClone(int, IShape) | Fügt eine Kopie einer angegebenen Form an eine angegebene Position in der Sammlung ein. X, Y, Breite und Höhe der neuen Form sind gleich X, Y, Breite und Höhe der sourceShape. |
InsertClone(int, IShape, float, float) | Fügt eine Kopie einer angegebenen Form an eine angegebene Position in der Sammlung ein. Breite und Höhe der neuen Form sind gleich Breite und Höhe der sourceShape. |
InsertClone(int, IShape, float, float, float, float) | Fügt eine Kopie einer angegebenen Form an eine angegebene Position in der Sammlung ein. |
InsertConnector(int, ShapeType, float, float, float, float) | Erstellt einen neuen Connector, passt ihn vom Standard-Template an und fügt ihn an eine bestimmte Position in der Sammlung ein. |
InsertConnector(int, ShapeType, float, float, float, float, bool) | Erstellt einen neuen Connector und fügt ihn an eine bestimmte Position in der Sammlung ein. |
InsertGroupShape(int) | Erstellt ein neues GroupShape und fügt es an eine bestimmte Position in der Sammlung ein. Die Größe und Position des GroupShape-Rahmens werden an den Inhalt angepasst, wenn eine neue Form in das GroupShape eingefügt wird. |
InsertOleObjectFrame(int, float, float, float, float, IOleEmbeddedDataInfo) | Erstellt ein neues OLE-Objekt und fügt es an einer bestimmten Position in der Sammlung ein. |
InsertOleObjectFrame(int, float, float, float, float, string, string) | Erstellt ein neues OLE-Objekt und fügt es an einer bestimmten Position in der Sammlung ein. |
InsertPictureFrame(int, ShapeType, float, float, float, float, IPPImage) | Erstellt einen neuen PictureFrame und fügt ihn an eine bestimmte Position in der Sammlung ein. |
InsertSectionZoomFrame(int, float, float, float, float, ISection) | Erstellt ein neues Abschnitts-Zoom-Objekt und fügt es an eine bestimmte Position in der Sammlung ein. |
InsertSectionZoomFrame(int, float, float, float, float, ISection, IPPImage) | Erstellt ein neues Abschnitts-Zoom-Objekt und fügt es an eine bestimmte Position in der Sammlung ein. |
InsertSummaryZoomFrame(int, float, float, float, float) | Erstellt ein neues Zusammenfassungs-Zoom-Objekt und fügt es an eine bestimmte Position in der Sammlung ein. |
InsertTable(int, float, float, double[], double[]) | Erstellt eine neue Tabelle und fügt sie an eine bestimmte Position in der Sammlung ein. |
InsertVideoFrame(int, float, float, float, float, string) | Erstellt ein neues Video-Frame und fügt es an eine bestimmte Position in der Sammlung ein. |
InsertZoomFrame(int, float, float, float, float, ISlide) | Erstellt ein neues Zoom-Objekt und fügt es an eine bestimmte Position in der Sammlung ein. |
InsertZoomFrame(int, float, float, float, float, ISlide, IPPImage) | Erstellt ein neues Zoom-Objekt und fügt es an eine bestimmte Position in der Sammlung ein. |
Remove(IShape) | Entfernt das erste Vorkommen einer bestimmten Form aus der Sammlung. |
RemoveAt(int) | Entfernt das Element am angegebenen Index der Sammlung. |
Reorder(int, IShape) | Verschiebt eine Form in der Sammlung an die angegebene Position. |
Reorder(int, params IShape[]) | Verschiebt Formen aus der Sammlung an die angegebene Position. Die Formen werden ab dem angegebenen Index in der Reihenfolge platziert, in der sie in der Liste erscheinen. |
ToArray() | Erstellt und gibt ein Array mit allen Formen zurück. |
ToArray(int, int) | Erstellt und gibt ein Array mit allen Formen aus dem angegebenen Bereich zurück. Ein Index der ersten zurückzugebenden Form. Eine Anzahl von Formen, die zurückgegeben werden sollen. |
Siehe auch
- class DomObject<TParent>
- class GroupShape
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides