Gets the value for the indexed Resolution property.
Source position: imglist.pp line 310
protected function TCustomImageList.GetResolution( |
AImageWidth: Integer |
AImageWidth |
|
Image width for the requested resolution. |
Value for the Resolution property.
GetResolution is a TCustomImageListResolution function used to get the image resolution which uses the image width specified in AImageWidth. When AImageWidth contains 0 (zero) or a negative value, the value in the Width property is used in the argument.
GetResolution uses the internal TCustomImageListResolutions member in the class to access its ImageLists property. If an image list using the request image width does not exist, it is created and populated by copying the images from the best candidate resolution.
GetResolution is used as the read access specifier for the indexed Resolution property.
|
Width of images in the default resolution for the image list. |
|
|
Provides indexed access to an image resolution with the specified image width. |
|
|
Provides access to the image resolutions (or sizes) used in the image lists. |
|
|
Implements an image resolution (or size) used in TCustomImageList. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |