---
title: "get_font method"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram/fontcollection/get_font/"
product: "Aspose.Diagram for Python via .NET API References"
---


## get_font(id) {#int}

Gets the element at the specified ID.

### Returns 


[Font](/diagram/python-net/aspose.diagram/font)Font.


```python
def get_font(self, id):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| id | int | Int32The ID of the element within its parent element. |



### See Also
* module [aspose.diagram](../../)
* class [FontCollection](/diagram/python-net/aspose.diagram/fontcollection)
