Table of Contents

Method GetNormalAndDisabledSvg

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

GetNormalAndDisabledSvg(Stream, SizeI, Control)

Initializes a tuple with two instances of the ImageSet class from the specified Stream which contains svg data. Images are loaded for the normal and disabled states using GetSvgColor(KnownSvgColor).

public static (ImageSet Normal, ImageSet Disabled) GetNormalAndDisabledSvg(Stream stream, SizeI size, Control control)

Parameters

stream Stream

Stream with svg data.

size SizeI

Image size in pixels.

control Control

Control which GetSvgColor(KnownSvgColor) method is called to get color information.

Returns

(ImageSet Normal, ImageSet Disabled)