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

# TCustomImageList.GetResolutionClass

Gets the class type used to create image resolutions in the list.

## Declaration

Source position: imglist.pp line 311

`protected function TCustomImageList.GetResolutionClass: TCustomImageListResolutionClass; virtual;`

## Function result

Class type used to create resolutions in the image list.

## Description

GetResolutionClass is a TCustomImageListResolutionClass function which gets the class type used to create image resolutions in the image list. GetResolutionClass always returns the TCustomImageListResolution type in TCustomImageList.

GetResolutionClass is used to get the class type for items added to the TCustomImageListResolutions container, and passed as an argument when the container is created in the Initialize method.

## See also

TCustomImageListResolution |  | Implements an image resolution (or size) used in TCustomImageList.
TCustomImageListResolutions |  | Provides multiple image resolutions in TCustomImageList.
TCustomImageListResolutions.Create |  | Constructor for the class instance.
TCustomImageList.Initialize |  | Performs the initial set up for the image list.