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

# TCustomImageList.ResolutionByIndex

Provides access to an image resolution by its ordinal position in the image list.

## Declaration

Source position: imglist.pp line 417

`public property TCustomImageList.ResolutionByIndex[AIndex: Integer] : TCustomImageListResolution read GetResolutionByIndex;`

## Description

ResolutionByIndex is an indexed read-only TCustomImageListResolution property which provides access to a resolution in the image list by the ordinal position specified in AIndex. ResolutionByIndex accesses the internal TCustomImageListResolutions member where the image resolutions are stored in the image list.

Use Resolution to get an image resolution using the specified image width.

Use Resolutions or ResolutionsDesc to access the ascending and descending enumerators for the resolutions container.

Use ResolutionCount to determine the number of image resolutions used in the image list.

Use ResolutionForPPI to get a temporary scaled image resolution using the specified display density.

## See also

TCustomImageListResolution |  | Implements an image resolution (or size) used in TCustomImageList.
TCustomImageList.Scaled |  | Controls whether image sizes are automatically scaled for different display density (Pixels per Inch) settings.
TCustomImageList.Resolution |  | Provides indexed access to an image resolution with the specified image width.
TCustomImageList.Resolutions |  | Provides access to the image resolutions (or sizes) used in the image lists.
TCustomImageList.ResolutionsDesc |  | Provides access to the descending enumerator for image resolutions in the list.
TCustomImageList.ResolutionCount |  | Number of image resolutions available in the image list.
TCustomImageList.ResolutionForPPI |  | Gets a scaled resolution with the specified width, display density, and scaling factor.