Open(Stream, Dictionary<String, String>) Method

Definition

Namespace Svg
Assembly Svg.Custom.dll

Opens an SVG document from the specified Stream and adds the specified entities.

[Obsolete("Use Open<T>(Stream stream, SvgOptions svgOptions)")]
public static T Open<T>(Stream stream, Dictionary<string, string> entities)
    where T : SvgDocument, new()

Type parameters

T

Parameters

stream
Stream

The Stream containing the SVG document to open.

entities
Dictionary<String, String>

Custom entity definitions.

Returns

{T}