Table of Contents

Method LoadSvg

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

LoadSvg(string, SizeI)

Loads normal and disabled image from the specified file or resource url. Loaded images assigned to ImageSet and DisabledImageSet properties.

public virtual void LoadSvg(string url, SizeI imageSize)

Parameters

url string

The file or embedded resource url with Svg data used to load the image.

imageSize SizeI

Image size in pixels.

Remarks

url can include assembly name. Example: "embres:Alternet.UI.Resources.Svg.ImageName.svg?assembly=Alternet.UI"