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

DPIAwareImageCollection.GetImage(Int32) Method

Returns the image stored within this DPIAwareImageCollection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public Image GetImage(
    int imageIndex
)

Parameters

Name Type Description
imageIndex Int32

An Int32 value that specifies the returned image’s position within this DPIAwareImageCollection.

Returns

Type Description
Image

An Image stored within this DPIAwareImageCollection.

Remarks

You can also retrieve images directly through the collection’s DPIAwareImageCollection.Images property.


barButtonItem1.ImageOptions.LargeImage = dpiAwareImageCollection1.Images[1].ImageInfo.Image;
See Also