Height for images at the specified display density.
Source position: imglist.pp line 407
public property TCustomImageList.HeightForPPI[AImageWidth: Integer,APPI: Integer] : Integer |
HeightForPPI is an indexed read-only Integer property that contains the image height used for images at the specified display density (Pixels per Inch). HeightForPPI allows the image height to be calculated for high density displays based on an initial image width.
AImageWidth is an Integer value that contains the initial image width used in the calculation.
APPI is an Integer value that contains the display density (Pixels per Inch) used in the calculation.
The image width for the requested display density is calculated by calling GetWidthForPPI. The image resolutions in the list are searched for the derived image width. If the resolution already exists, the Height property in the resolution is used as the property value. If the resolution is not found, the GetHeightForWidth method is used to get the value for the property.
|
Image width needed for the specified display density (PPI). |
|
|
Height used for images with the width specified width. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |