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

TCustomImageListResolutionEnumerator.GetEnumerator

Gets the enumerator for the class instance.

Declaration

Source position: imglist.pp line 257

public function TCustomImageListResolutionEnumerator.GetEnumerator: TCustomImageListResolutionEnumerator;

Function result

Enumerator for the image resolutions in the image list.

Description

GetEnumerator is a TCustomImageListResolutionEnumerator function used to get the enumerator for image resolutions in an image list. GetEnumerator implements the method defined in the IEnumerator interface. GetEnumerator provides access to the TCustomImageListResolution classes stored in a TCustomImageList class instance.

Use MoveNext to navigate to each image resolution for the enumerator.

Use Current to access the current image resolution in the enumerator.

See also

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.

TCustomImageListResolutionEnumerator.MoveNext

  

Moves to the next image resolution for the enumerator.

TCustomImageListResolutionEnumerator.Current

  

The current image resolution for the enumerator.


Version 4.0 Generated 2025-05-03 Home