Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the number of images in an image list.
Syntax
public int count()
Run On
Client
Return Value
Type: int
An integer that represents the number of images in the list.
Examples
The following example creates an image list, loads icons from the shell.dll file, and then prints the number of images in the list.
Imagelist list;
int counter;
list = new Imagelist(
Imagelist::iconWidth(),
Imagelist::iconHeight() );
list.loadIcons('shell32.dll');
print list.count();
pause;