Table of Contents

Method LoadImage

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

LoadImage(int, Color?)

Creates new ImageSet and loads there this svg image with the specified size and color.

public ImageSet? LoadImage(int size, Color? color = null)

Parameters

size int

Svg image size in pixels.

color Color

Color of the mono svg image. Optional.

Returns

ImageSet

LoadImage(SizeI, Color?)

Creates new ImageSet and loads there this svg image with the specified size and color.

public virtual ImageSet? LoadImage(SizeI size, Color? color = null)

Parameters

size SizeI

Svg image size in pixels.

color Color

Color of the mono svg image. Optional.

Returns

ImageSet

LoadImage()

Loads image if it was not yet loaded from the url or stream specified in the constructor.

public virtual void LoadImage()