Table of Contents

Method FromAssemblyUrl

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

FromAssemblyUrl(Assembly, string)

Initializes a new instance of the Image class from the specified relative url and assembly.

public static Image FromAssemblyUrl(Assembly asm, string relativeName)

Parameters

asm Assembly

Assembly from which image will be loaded.

relativeName string

Image name of relative path. Slash characters must be changed to '.'. Example: "ToolBarPng.Large.Calendar32.png".

Returns

Image