
## FontCollection class

Contains a collection of Font elements.



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



The FontCollection type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [FontCollection()](/diagram/python-net/aspose.diagram/fontcollection/__init__/#) | Constructor. |


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


### See Also

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