Finds the image resolution which uses the specified image width.
Source position: imglist.pp line 398
public function TCustomImageList.FindResolution( |
AImageWidth: Integer; |
out AResolution: TCustomImageListResolution |
):Boolean; |
AImageWidth |
|
Image width for the resolution requested in the method. |
AResolution |
|
Image resolution class located in the method. |
True when an image resolution using the specified width is found.
FindResolution is a Boolean function used to find the image resolution with the image width specified in AImageWidth.
AResolution is a TCustomImageListResolution output parameter used to return the image resolution using the specified image width. AResolution contains Nil when the image width is not used in the resolutions for the image list.
FindResolution calls the Find method for the internal TCustomImageListResolutions container. The return value is True when an image resolution using the specified image width is found in the resolutions for the image list. The ResolutionByIndex property is used to get the class instance for AResolution when the return value is True.
FindResolution is used in the implementation of the Replace, ReplaceMasked, ReplaceSlice, and ReplaceSliceCentered methods.
|
Implements an image resolution (or size) used in TCustomImageList. |
|
|
Provides access to an image resolution by its ordinal position in the image list. |
|
|
Replaces an image at the specified position with the given bitmap. |
|
|
Replaces the image at the specified position with a masked image. |
|
|
Replace an image at the specified position with a slice from the specified image. |
|
|
Replaces the image at the specified position from image data stored as adjacent columns and rows. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |