FromSvg(String) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Attempts to create an SVG document from the specified string data.

public static T FromSvg<T>(string svg)
    where T : SvgDocument, new()

Type parameters

T

Parameters

svg
String?

The SVG data.

Returns

{T}