Table of Contents

Method GetImageUrlInAssembly

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

GetImageUrlInAssembly(Assembly, string?)

Gets image url for loading image resource from the specified assembly using "embres" protocol.

public static string GetImageUrlInAssembly(Assembly asm, string? name = null)

Parameters

asm Assembly

Assembly to load image from.

name string

Image name of relative path. Slash characters will be changed to '.'. Example: "ToolBarPng/Large\Calendar32.png" -> "ToolBarPng.Large.Calendar32.png".

Returns

string