Reference class using the specified image width and display density.
Source position: imglist.pp line 415
public property TCustomImageList.ReferenceForPPI[AImageWidth: Integer,APPI: Integer] : TWSCustomImageListReference |
ReferenceForPPI is an indexed read-only TWSCustomImageListReference property used to get the class instance for an image resolution using the specified image width and display density. The reference class allows access to the widgetset implementation for an image list. It is used mainly in situations that need the handle for an image list.
AImageWidth is an Integer value that contains the image width for the requested reference class.
APPI is an Integer value that contains the display density (Pixels per Inch) for the requested reference class.
Reading the value in the property causes the GetWidthForPPI method to be called to determine the actual image width needed for the specified display density. The GetReference method is called to retrieve the reference class using the derived image width.
|
Image width needed for the specified display density (PPI). |
|
|
Provides access to the reference class for the specified resolution. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |