GetElementById(String) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Retrieves the SvgElement with the specified ID.

public virtual SvgElement GetElementById(string id)

Parameters

id
String

A String containing the ID of the element to find.

Returns

SvgElement
An SvgElement if one exists with the specified ID; otherwise null.