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

TCustomImageListResolution.Count

Number of images stored in the resolution.

Declaration

Source position: imglist.pp line 177

public property TCustomImageListResolution.Count : Integer
  read FCount;

Description

Count is a read-only Integer property that indicates the number of images stored in the resolution. Count is used along with Width and Height to determine the storage allocated for 32-bit RGBA raw image data in the resolution.

The value in Count is updated when raw image data is loaded using the ReadData method, and when the images in the resolution are updated using the Add, Delete, or Clear methods.

Count determines the upper boundary for index positions used to access bitmaps, icons, or raw images in the resolution (Count - 1). The lower boundary is always 0 (zero).

See also

TCustomImageListResolution.GetBitmap

  

Gets the bitmap for an image drawn using the specified drawing effect.

TCustomImageListResolution.GetIcon

  

Gets an Icon rendered using the specified drawing effect.

TCustomImageListResolution.GetRawImage

  

Gets the 32-bit RGBA raw image data for the specified image.