SVGSVGElement.GetElementById
SVGSVGElement.GetElementById method
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.
public Element GetElementById(string elementId)
Parameter | Type | Description |
---|---|---|
elementId | String | The unique id value for an element. |
Return Value
The matching element.
See Also
- class Element
- class SVGSVGElement
- namespace Aspose.Html.Dom.Svg
- assembly Aspose.HTML