ShapeCollection class
ShapeCollection class
Collection of Shapes.
Inheritance: ShapeCollection → Collection
The ShapeCollection type exposes the following members:
Properties
| Property | Description |
|---|---|
| count | Gets the number of elements actually contained in the collection. |
Gets the element at the specified index.
Indexer
| Name | Description |
|---|---|
| [index] |
Methods
| Method | Description |
|---|---|
| get_shape(name) | Gets the element at the specified name. |
| get_shape(id) | Gets the element at the specified ID. |
| get_shape_including_child(name) | Gets the element including it’s child shape at the specified name. |
| get_shape_including_child(id) | Gets the element including it’s child shape at the specified id. |
| is_exist(index) | Is exist item in the collection. |
| clear() | Removes all elements from collection. |
| add(item) | Add the shape in the collection. |
| remove(item) | Remove the shape from the collection. |
| remove_depends_on(item) | Remove the shapes including DEPENDSON shapes from the collection. |
| un_group(group_shape) | UnGroup the shape. |
| group(group_items) |
See Also
- module aspose.diagram
- class Collection