TCustomImageList.ResolutionForPPI property
Gets a scaled resolution with the specified width, display density, and scaling factor.
Declaration
property ResolutionForPPI[AImageWidth: Integer;APPI: Integer;ACanvasScaleFactor: Double]: TScaledImageListResolution read GetResolutionForPPI;Description
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).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
