The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ImageLoader.GetImageInfo(String) Method

Supplies metadata on a standard-sized image.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public ImageInfo GetImageInfo(
    string imageName
)
Public Function GetImageInfo(
    imageName As String
) As ImageInfo
public ImageInfo GetImageInfo(
    string imageName
)
Public Function GetImageInfo(
    imageName As String
) As ImageInfo
public ImageInfo GetImageInfo(
    string imageName
)
Public Function GetImageInfo(
    imageName As String
) As ImageInfo

Parameters

Name Type Description
imageName String

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

Parameters

Name Type Description
imageName String

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

Parameters

Name Type Description
imageName String

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

Returns

Type Description
ImageInfo

An ImageInfo object supplying metadata on a standard-sized image.

Returns

Type Description
ImageInfo

An ImageInfo object supplying metadata on a standard-sized image.

Returns

Type Description
ImageInfo

An ImageInfo object supplying metadata on a standard-sized image.

Remarks

To customize metadata returned by the GetImageInfo 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 GetImageInfo method. The code retrieves the Action_Open image.

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