Skip to main content

ImageCollection.DrawImageListImage(GraphicsCache, Image, Object, Int32, Rectangle, ImageAttributes) Method

Draws the specified image using the specified paint settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public static void DrawImageListImage(
    GraphicsCache cache,
    Image image,
    object images,
    int index,
    Rectangle bounds,
    ImageAttributes attributes
)

Parameters

Name Type Description
cache GraphicsCache

Provides the paint surface and storage of the recently used pens, fonts and brushes.

image Image

The Image to draw.

images Object

An object that represents the source of images. This parameter is in effect if the image parameter is null.

index Int32

An integer value that identifies the image within the collection. This parameter is in effect if the image parameter is null.

bounds Rectangle

A Rectangle structure that specifies the drawing area.

attributes ImageAttributes

Contains information about how image colors are manipulated during rendering.

See Also