Images.GetImageFromCollection(Image, Int32, Int32, Int32, Int32) Method

Returns an image from the image collection at the specified position within the specified height and width.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.2.dll

Declaration

public Image GetImageFromCollection(
    Image image,
    int width,
    int height,
    int wIndex,
    int hIndex
)

Parameters

Name Type Description
image Image

A Image object which resolution settings will be applied to the resulting image.

width Int32

An integer value that specifies the width of the resulting image.

height Int32

An integer value that specifies the height of the resulting image.

wIndex Int32

An integer value that specifies the vertical position of the resulting image in the images collection.

hIndex Int32

An integer value that specifies the horizontal position of the resulting image in the images collection.

Returns

Type Description
Image

A Image object which represents an image at the specified position of the specified size.

Remarks

Use the GetImageFromCollection method to find a particular image within this Images collection.

See Also