Table of Contents

Constructor ColorSvgImage

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

ColorSvgImage(string, SvgImageDataKind, bool)

Initializes a new instance of the ColorSvgImage class.

public ColorSvgImage(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.

ColorSvgImage(Stream, bool)

Initializes a new instance of the ColorSvgImage class.

public ColorSvgImage(Stream stream, bool throwException = true)

Parameters

stream Stream

Stream with image data.

throwException bool

Indicates whether to throw an exception if loading fails.

ColorSvgImage()

Initializes a new instance of the ColorSvgImage class.

public ColorSvgImage()