
## PageCollection class

Page collection.



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



The PageCollection type exposes the following members:

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


### See Also

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