All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.1.dll

Declaration

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

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 that specifies 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.

svgImageColorizationMode Nullable<DevExpress.Utils.SvgImageColorizationMode>

null

A SvgImageColorizationMode enumeration value that specifies whether the image should be colorized with default colorization engine settings.

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