[]
        
(Showing Draft Content)

C1.Framework.ResourceLoader.GetImage

GetImage Method

GetImage(string)

Loads an image from the entry assembly.

Declaration
public static Image GetImage(string name)
Parameters
Type Name Description
string name

The case-insensitive name of the requested image.

Returns
Type Description
Image

The Image if it is found; null otherwise.

GetImage(Assembly, string)

Loads an image from the specified assembly.

Declaration
public static Image GetImage(Assembly a, string name)
Parameters
Type Name Description
Assembly a

An Assembly to load image from.

string name

The case-insensitive name of the requested image.

Returns
Type Description
Image

The Image if it is found; null otherwise.