get_element_by_id method
get_element_by_id
Searches this SVG document fragment (i.e., the search is restricted to a subset of the document tree) for an Element whose id is given by elementId. If an Element is found, that Element is returned. If no such element exists, returns null. Behavior is not defined if more than one element has this id.
Returns
The matching element.
def get_element_by_id(self, element_id):
...
Parameter | Type | Description |
---|---|---|
element_id | str | The unique id value for an element. |
See Also
- module
aspose.html.dom.svg
- class
SVGSVGElement