Deletes all pictures from an image list.
PictureListBox, DropDownPictureListBox, and TreeView controls
controlname.DeletePictures ( )
Argument |
Description |
---|---|
controlname |
The control in which you want to delete all pictures from the image list |
Integer. Returns 1 if it succeeds and -1 if an error occurs.
This example deletes all images from a TreeView control image list:
tv_list.DeletePictures()