
## StyleSheetCollection class

Collection of StyleSheets.



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



The StyleSheetCollection type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [count](/diagram/python-net/aspose.diagram/stylesheetcollection/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/stylesheetcollection/is_exist/#int) | Is exist item in the collection. |
| [clear()](/diagram/python-net/aspose.diagram/stylesheetcollection/clear/#) | Removes all elements from collection. |
| [add(item)](/diagram/python-net/aspose.diagram/stylesheetcollection/add/#StyleSheet) | Add StyleSheet in the collection. |
| [remove(item)](/diagram/python-net/aspose.diagram/stylesheetcollection/remove/#StyleSheet) | Remove StyleSheet from the collection. |
| [get_style_sheet(id)](/diagram/python-net/aspose.diagram/stylesheetcollection/get_style_sheet/#int) | Gets the element at the specified ID. |


### See Also

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