GetElementById(String) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Retrieves the SvgElement with the specified ID.

public virtual TSvgElement GetElementById<TSvgElement>(string id)
    where TSvgElement : SvgElement

Type parameters

TSvgElement

Parameters

id
String?

A String? containing the ID of the element to find.

Returns

{TSvgElement}
An SvgElement of one exists with the specified ID; otherwise false.