Table of Contents

Constructor SvgImage

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

SvgImage(string, SvgImageDataKind, bool)

Initializes a new instance of the SvgImage class.

protected SvgImage(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.

SvgImage(Stream, bool)

Initializes a new instance of the SvgImage class.

protected SvgImage(Stream stream, bool throwException = true)

Parameters

stream Stream

Stream with image data.

throwException bool

Indicates whether to throw an exception if loading fails.