Constructor for the class instance.
Source position: imglist.pp line 260
public constructor TCustomImageListResolutionEnumerator.Create( |
AImgList: TCustomImageList; |
ADesc: Boolean |
); |
AImgList |
|
Image list that owns the image resolutions in the enumerator. |
ADesc |
|
Indicates if the enumerator navigates in descending order. |
Create is the constructor for the class instance. Create calls the inherited constructor.
AImgList contains the TCustomImageList instance which contains the image resolutions visited in the enumerator.
ADesc determines the navigation order for image resolutions in the enumerator. When ADesc is True, the enumerator is navigated in reverse (descending) order for the image resolutions. When ADesc is False, the enumerator is navigated in ascending image size order.
Create sets the initial value in the Current property to reflect the navigation order specified in ADesc. The initial value indicates that Current is positioned just prior to the first item for the navigation order; TCustomImageListResolutions.Count for descending navigation order, -1 for ascending navigation order.
Use MoveNext to navigate to the first and subsequent image resolution for the enumerator.
Use Current to access the current image resolution in the enumerator.
|
The current image resolution for the enumerator. |
|
|
Moves to the next image resolution for the enumerator. |
|
|
Number of image resolutions stored in the container. |
|
|
The base class for TImageList. |
Lazarus Component Library (LCL) | Version 4.99-3f07e99eb1 (2025-06-30) | Home |