Engine.GetImageIndex ( imageName)
The index of the image in both of the engine image lists. Returns -1 if the image name is not found.
Returns the index of the image with the specified name, which you can use to access the list of images returned from the LargeImageList and SmallImageList methods.
imageName As String
[In] Pass the name of the image. Typically, the name includes a filename and its extension.