TImageListHelper.ResolutionForControl property
Provides access to an image resolution with the specified width scaled to the display density for a control.
Declaration
property ResolutionForControl[AImageWidth: Integer;AControl: TControl]: TScaledImageListResolution read GetResolutionForControl;Description
ResolutionForControl is a read-only
TScaledImageListResolution property which provides access to a
scaled image resolution suitable for the control in
AControl.
AImageWidth contains the image width requested from the
multi-resolution image list.
AControl contains the
TControl instance which provides the display density (PPI) and the
scaling factor used to generate the scaled image resolution.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
