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


## get_control_from_id(id) {#int}

Gets the element at the specified ID.

### Returns 





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


| Parameter | Type | Description |
| :- | :- | :- |
| id | int |  |



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