[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TImageListHelper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper class for TCustomImageList useful for images on TControl instances.

## Declaration

Source position: controls.pp line 393

`type TImageListHelper = class helper`
`public`
`procedure DrawForControl();` |  | Draws an image scaled to the display density (PPI) for the specified control.
`property ResolutionForControl []: TScaledImageListResolution; [r]` |  | Provides access to an image resolution with the specified width scaled to the display density for a control.
`end;`

## Inheritance

`TImageListHelper` |  | Helper class for TCustomImageList useful for images on TControl instances.

## Description

TImageListHelper is a helper class for TCustomImageList. TImageListHelper extends TCustomImageList to provide additional properties and methods that are useful when working with TControl class instances.

Use the overloaded DrawForControl method to render an image from the multiple resolution image list to a control canvas.

Use the ResolutionForControl property to access a scaled image resolution with images of a specified width used on a control instance.

## See also

TImageListHelper.DrawForControl |  | Draws an image scaled to the display density (PPI) for the specified control.
TImageListHelper.ResolutionForControl |  | Provides access to an image resolution with the specified width scaled to the display density for a control.
TCustomImageList |  | The base class for TImageList.
TControl |  | The base class for visible controls.