Unit 'ImgList' Package
[Overview][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomImageList.Resolution

Provides indexed access to an image resolution with the specified image width.

Declaration

Source position: imglist.pp line 416

public property TCustomImageList.Resolution[AImageWidth: Integer] : TCustomImageListResolution
  read GetResolution;

Description

Resolution is an indexed read-only TCustomImageListResolution property which provides access to an image resolution using the image width specified in AImageWidth.

GetResolution is the read access specifier for the Resolution property. It retrieves an image list using the specified image width. When AImageWidth is 0 (zero) or a negative value, the value in the Width property is used to locate the image resolution.

Use ResolutionByIndex to get a resolution using its ordinal position in the resolutions for the image list.

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

Use Resolutions or ResolutionsDesc to get an ascending or descending enumerator for images resolutions in the image list.

See also

TCustomImageList.GetResolution

  

Gets the value for the indexed Resolution property.

TCustomImageList.ResolutionByIndex

  

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

TCustomImageList.ResolutionCount

  

Number of image resolutions available in the image list.

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.

TCustomImageListResolution

  

Implements an image resolution (or size) used in TCustomImageList.