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.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
public static Image GetImageListImage(
object images,
int index,
ISvgPaletteProvider palette,
Size? size = null,
float? scaleFactor = null,
SvgImageColorizationMode? svgImageColorizationMode = null
)
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. |