Table of Contents

Constructor MonoSvgImage

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

MonoSvgImage(string, SvgImageDataKind, bool)

Initializes a new instance of the MonoSvgImage class loading it from the specified url or xml string.

public MonoSvgImage(string urlOrData, SvgImageDataKind kind = SvgImageDataKind.Url, bool throwException = true)

Parameters

urlOrData string

Image url or data.

kind SvgImageDataKind

Image data kind.

throwException bool

Indicates whether to throw an exception if loading fails.

MonoSvgImage(Stream, bool)

Initializes a new instance of the MonoSvgImage class loading it from the specified stream.

public MonoSvgImage(Stream stream, bool throwException = true)

Parameters

stream Stream

Stream with image data.

throwException bool

Indicates whether to throw an exception if loading fails.

MonoSvgImage()

Initializes a new instance of the MonoSvgImage class.

public MonoSvgImage()