Method FromAssemblyUrl
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
asmAssemblyAssembly from which image will be loaded.
relativeNamestringImage name of relative path. Slash characters must be changed to '.'. Example: "ToolBarPng.Large.Calendar32.png".