Table of Contents

Method LoadFromResource

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

LoadFromResource(Assembly, TKey, bool)

Loads the specified image from the assemblie's resource.

public virtual bool LoadFromResource(Assembly assembly, TKey imageKey, bool isSmallImage = true)

Parameters

assembly Assembly

The assembly from where image is loaded.

imageKey TKey

The key of the image to load.

isSmallImage bool

The flag which specifies whether to load small or large image.

Returns

bool

Remarks

Image name is used as a resource url.