[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ImgList' (#lcl)

TCustomImageList.ReferenceForPPI

Reference class using the specified image width and display density.

Declaration

Source position: imglist.pp line 414

public property TCustomImageList.ReferenceForPPI[AImageWidth: Integer,APPI: Integer] : TWSCustomImageListReference
  read GetReferenceForPPI;

Description

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.

See also

TCustomImageList.WidthForPPI

  

Image width needed for the specified display density (PPI).

TCustomImageList.Reference

  

Provides access to the reference class for the specified resolution.


Version 3.2 Generated 2024-02-25 Home