Table of Contents

Method CreateImageSetHandlerFromSvg

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

CreateImageSetHandlerFromSvg(Stream, int, int, Color?)

Creates IImageSetHandler provider for svg image using the specified parameters.

IImageSetHandler CreateImageSetHandlerFromSvg(Stream stream, int width, int height, Color? color = null)

Parameters

stream Stream

Stream with svg data.

width int

Image width.

height int

Image height.

color Color

Default color of the svg figures.

Returns

IImageSetHandler

CreateImageSetHandlerFromSvg(string, int, int, Color?)

Creates IImageSetHandler provider for svg image using the specified parameters.

IImageSetHandler CreateImageSetHandlerFromSvg(string s, int width, int height, Color? color = null)

Parameters

s string

String with svg data.

width int

Image width.

height int

Image height.

color Color

Default color of the svg figures.

Returns

IImageSetHandler