[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TCustomImageListResolutionEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an enumerator for image resolutions in TCustomImageList.

## Declaration

Source position: imglist.pp line 250

`type TCustomImageListResolutionEnumerator = class`
`public`
`function GetEnumerator;` |  | Gets the enumerator for the class instance.
`constructor Create();` |  | Constructor for the class instance.
`function MoveNext;` |  | Moves to the next image resolution for the enumerator.
`property Current: TCustomImageListResolution; [r]` |  | The current image resolution for the enumerator.
`end;`

## Inheritance

`TCustomImageListResolutionEnumerator` |  | Implements an enumerator for image resolutions in TCustomImageList.
`TObject`

## Description

TCustomImageListResolutionEnumerator is a class which implements an enumerator for image resolutions in TCustomImageList. Methods and properties are provided to implement the IEnumerator interface for TCustomImageListResolution class instances.

TCustomImageListResolutionEnumerator includes a an internal TCustomImageList member which represents the image list for the enumerator class instance. The constructor for the class includes an argument that determines whether enumerator navigation is performed in ascending or descending order.

TCustomImageListResolutionEnumerator is the type returned from the Resolutions and ResolutionsDesc methods in TCustomImageList.

## See also

TCustomImageListResolutionEnumerator.Create |  | Constructor for the class instance.
TCustomImageList.Resolutions |  | Provides access to the image resolutions (or sizes) used in the image lists.
TCustomImageList.ResolutionsDesc |  | Provides access to the descending enumerator for image resolutions in the list.
TCustomImageListResolution |  | Implements an image resolution (or size) used in TCustomImageList.