
## LayerCollection class

Layer collection.



**Inheritance:** [LayerCollection](/diagram/python-net/aspose.diagram/layercollection) → 
[Collection](/diagram/python-net/aspose.diagram/collection)



The LayerCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/layercollection/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 |
| :- | :- |
| [is_exist(index)](/diagram/python-net/aspose.diagram/layercollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/layercollection/clear/#) | Removes all elements from collection. |
| [add(item)](/diagram/python-net/aspose.diagram/layercollection/add/#Layer) | Add the Layer object in the collection. |
| [remove(item)](/diagram/python-net/aspose.diagram/layercollection/remove/#Layer) | Remove the Layer object from the collection. |


### See Also

* module [aspose.diagram](../)
* class [Collection](/diagram/python-net/aspose.diagram/collection)
