Skip to main content

ImageCollection.DrawImageListImage(GraphicsCache, Object, Int32, Rectangle, Boolean, ISvgPaletteProvider) Method

Draws the specified image using the specified paint settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static void DrawImageListImage(
    GraphicsCache cache,
    object images,
    int index,
    Rectangle bounds,
    bool enabled,
    ISvgPaletteProvider palette
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that provides storage for pens, fonts and brushes used when painting.

images Object

An object that represents the image source.

index Int32

An integer value that identifies the image within the collection.

bounds Rectangle

A Rectangle structure that specifies the bounding rectangle of the image.

enabled Boolean

true, to draw an image in enabled state; otherwise, false.

palette DevExpress.Utils.Design.ISvgPaletteProvider

An ISvgPaletteProvider object specifying colors used to paint vector images.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also