ImageCollection.GetImageListSize(Image, Object, Int32) Method
Returns the size of the specified image or of an image in the image list addressed by a specific index.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
image | Image | An image whose size is returned. |
images | Object | An object that represents the source of images. This parameter is in effect if the image parameter is set to null. |
index | Int32 | The index of the required image in the images list. |
Returns
Type | Description |
---|---|
Size | A |
Remarks
If the image parameter is not null, the GetImageListSize method returns the size of this image. Otherwise, it returns the size of the image addressed by its index in the list specified by the images parameter. For the images parameter you can pass a ImageList or ImageCollection object.