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

# TCustomImageList.Width

Width of images in the default resolution for the image list.

## Declaration

Source position: imglist.pp line 409

`public property TCustomImageList.Width : Integer read FWidth write SetWidth default 16;`

## Description

Width is an Integer property that contains the horizontal size in pixels for images in the default resolution for the image list. The default value for the property is 16.

Changing the value in the Height or Width properties causes the image list (and all of its resolutions) to be cleared. Set the values in the Height and Width properties prior to adding images to the list.

## See also

TCustomImageList.Height |  | Height of images in the default resolution for the image list.
TCustomImageList.SetWidthHeight |  | Sets the Width and Height for images in the default resolution.
TCustomImageListResolution |  | Implements an image resolution (or size) used in TCustomImageList.