Sign in Join
FPDoc Onlineexperiment

TCustomImageListResolution.Count property

Member of TCustomImageListResolutionpublicIn unit ImgList

Number of images stored in the resolution.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.