Skip to main content
A newer version of this page is available. .

ImageLoader.GetLargeImageInfo(String, Boolean) Method

Supplies metadata on a large image.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public ImageInfo GetLargeImageInfo(
    string imageName,
    bool isEnabled
)

Parameters

Name Type Description
imageName String

A string holding the name of the required image. This parameter is case-insensitive.

isEnabled Boolean

true, if the retrieved image is converted to grayscale; otherwise, false.

Returns

Type Description
ImageInfo

An ImageInfo object supplying metadata on a large image.

Remarks

To customize metadata returned by the GetLargeImageInfo method, handle the ImageLoader.CustomizeImageInfo event.

For general guidelines on using images in an XAF application, refer to the Add and Override Images help topic.

The following code snippet illustrates use of the GetLargeImageInfo method. The code retrieves the large Action_Open image.

using System.Drawing;
//...
Image image = ImageLoader.Instance.GetLargeImageInfo("Action_Open", false).Image;
See Also