Method GetElementById
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
GetElementById(string)
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 XmlElement GetElementById(string elementId)
Parameters
elementId
stringThe unique id value for an element.
Returns
- XmlElement
The matching element.