get_element_by_id method
get_element_by_id
Returns the Element that has an ID attribute with the given value. If no such element exists, this returns null. If more than one element has an ID attribute with that value, what is returned is undefined.
Returns
The Element
.
def get_element_by_id(self, element_id):
...
Parameter | Type | Description |
---|---|---|
element_id | str | The element id. |
See Also
- module
aspose.svg.dom
- class
Document
- class
Element