Table of Contents

Method AddFromAssemblyUrl

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

AddFromAssemblyUrl(Assembly, string?)

Adds image from the specified assembly and relative path to the resource.

public virtual bool AddFromAssemblyUrl(Assembly asm, string? name = null)

Parameters

asm Assembly

Assembly to load image from.

name string

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

Returns

bool