Gets a scaled resolution with the specified width, display density, and scaling factor.
Source position: imglist.pp line 418
public property TCustomImageList.ResolutionForPPI[AImageWidth: Integer,APPI: Integer,ACanvasScaleFactor: Double] : TScaledImageListResolution |
ResolutionForPPI is a read-only property used to get an image list with scaled images suitable for the specified width, display density (PPI), and scaling factor.
AImageWidth is the width of the images used as the source for the resized images. AImageWidth determines the Resolution selected as the source image list.
APPI indicates the display density (pixels per inch) for the resized images.
ACanvasScaleFactor contains the value used to adjust the image sizes when Scaled is set to True. The value in ACanvasScaleFactor is not used when Scaled is set to False.
The return value contains the TScaledImageListResolution instance created using the requested values. It is constructed dynamically in GetResolutionForPPI (the read access specifier for the property).
|
Implements a scaled image resolution (size). |
|
|
Provides indexed access to an image resolution with the specified image width. |
|
|
Controls whether image sizes are automatically scaled for different display density (Pixels per Inch) settings. |
|
|
Renders an image to a canvas scaled to a specified display density. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |