The ImageHeight and ImageWidth properties of the ImageList
control identify the height and width in pixels (not in twips!) of images
belonging to the ListImages Collection. These properties
are read/ write at design time (from the Custom Properties window) and at runtime.
The Height and Width properties identify the size of an image in pixels.
Note that after the first image is added to the ListImages,
all other images must be the same height and width; otherwise an error will occur.
If you need to include different-sized icons in an application, you can use multiple
ImageList controls, one for each size needed.
The ListImages property returns a reference to
the collection of ListImage objects (ListImages
Collection) contained within an ImageList control.
Related topics on ImageList Control
.<< Previous | Contents
| Next >>