SvgImage

SvgImage class

Represents an SVG image.

public class SvgImage : ISvgImage

Constructors

NameDescription
SvgImage(byte[])Creates new SvgImage object.
SvgImage(Stream)Creates new SvgImage object.
SvgImage(string)Creates new SvgImage object.
SvgImage(byte[], IExternalResourceResolver, string)Creates new SvgImage object.
SvgImage(Stream, IExternalResourceResolver, string)Creates new SvgImage object.
SvgImage(string, IExternalResourceResolver, string)Creates new SvgImage object.

Properties

NameDescription
BaseUri { get; }Returns base URI of the specified Svg. Used to resolve relative links. Read-only String.
ExternalResourceResolver { get; }Return callback interface used to resolve external resources during Svg documents import. Read-only IExternalResourceResolver.
SvgContent { get; }Returns SVG content. Read-only String.
SvgData { get; }Returns SVG data. Read-only Byte[].

See Also