Skip to main content
.NET Framework 4.5.2+

ImageLoader.LoadFromResource(Assembly, String) Method

Retrieves an image stored as a resource in an assembly.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public DXImage LoadFromResource(
    Assembly assembly,
    string resourceName
)

Parameters

Name Type Description
assembly Assembly

The assembly from which the image is loaded.

resourceName String

The name of the resource that contains the image.

Returns

Type Description
DXImage

The retrieved image.

Remarks

This method is intended for internal use.

See Also