IShapeCollection

IShapeCollection — Aspose.Slides FOSS C# (.NET) API Reference

IShapeCollection — IShapeCollection API type. Inherits from: IEnumerable<IShape>.

Package: Aspose.Slides.Foss


Properties

PropertyTypeAccessDescription
ParentGroupIGroupShape?Read/Write
AsICollectionIList<IShape>Read/Write
AsIEnumerableIEnumerable<IShape>Read/Write
CountintRead/Write

Methods

MethodReturnsDescription
ToArray()voidAn array containing all shapes in the collection.
ToArray(int startIndex, int count)voidAn array containing the specified range of shapes.
Reorder(int index, IShape shape)voidThe shape to move.
Reorder(int index, IShape[] shapes)voidThe shapes to move.
AddAutoShape(ShapeType shapeType, float x, float y, float width, float height)voidThe created auto shape.
AddAutoShape(ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)voidThe created auto shape.
InsertAutoShape(int index, ShapeType shapeType, float x, float y, float width, float height)voidThe created auto shape.
InsertAutoShape(int index, ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)voidThe created auto shape.
AddConnector(ShapeType shapeType, float x, float y, float width, float height)voidThe created connector.
AddConnector(ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)voidThe created connector.
InsertConnector(int index, ShapeType shapeType, float x, float y, float width, float height)voidThe created connector.
InsertConnector(int index, ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)voidThe created connector.
AddPictureFrame(ShapeType shapeType, float x, float y, float width, float height, IPPImage image)voidThe created picture frame.
InsertPictureFrame(int index, ShapeType shapeType, float x, float y, float width, float height, IPPImage image)voidThe created picture frame.
AddTable(float x, float y, double[] columnWidths, double[] rowHeights)voidThe created table.
InsertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)voidThe created table.
IndexOf(IShape shape)voidThe zero-based index, or -1 if the shape is not in the collection.
RemoveAt(int index)voidThe zero-based index of the shape to remove.
Remove(IShape shape)voidThe shape to remove.
Clear()void

See Also