Skip to main content
A newer version of this page is available.
All docs
V19.2

ImageCollection.GetImageListImage(Object, Int32, ISvgPaletteProvider, Nullable<Size>, Nullable<Single>) Method

Returns the image at the specified position in the specified image list.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public static Image GetImageListImage(
    object images,
    int index,
    ISvgPaletteProvider palette,
    Size? size = default(Size? ),
    float? scaleFactor = default(float? )
)

Parameters

Name Type Description
images Object

An object that represents the source of images.

index Int32

A zero-based integer that specifies the index of the image in the images.

palette DevExpress.Utils.Design.ISvgPaletteProvider

An ISvgPaletteProvider object specifying colors used to paint vector images.

Optional Parameters

Name Type Default Description
size Nullable<Size> *null*

A vector image size.

scaleFactor Nullable<Single> *null*

An integer value that specifies the scale factor.

Returns

Type Description
Image

An Image descendant that represents the image at the specified position within the specified image list. null (Nothing in Visual Basic) if the image isn’t found.

See Also