TCustomImageList.ReferenceForPPI property
Reference class using the specified image width and display density.
Declaration
property 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
