.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ImageLoader.LoadFromResource(Assembly, String) Method

Retrieves an image stored as a resource in an assembly.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

[Browsable(false)]
public Image LoadFromResource(
    Assembly assembly,
    string resourceName
)
<Browsable(False)>
Public Function LoadFromResource(
    assembly As Assembly,
    resourceName As String
) As Image

Parameters

Name Type Description
assembly Assembly

A Assembly object representing the assembly from which the image will be loaded.

resourceName String

A string representing the name of the resource representing the image.

Returns

Type Description
Image

A Image object representing the retrieved image.

Remarks

This method is intended for internal use.

See Also