-
Home
-
API
-
Svg
-
SvgDocument
-
Methods
-
GetElementById(Uri)
GetElementById(Uri) Method
Definition
Retrieves the SvgElement with the specified URI reference.
public virtual TSvgElement GetElementById<TSvgElement>(Uri uri)
where TSvgElement : SvgElement
Type parameters
Parameters
- uri
- Uri?
A Uri? containing the fragment or external reference to resolve.
Returns
- {TSvgElement}
- An SvgElement if one exists with the specified reference; otherwise null.