Engine.GetImageIndex
- Updated2024-10-09
- 1 minute(s) read
Engine.GetImageIndex
Syntax
Engine.GetImageIndex( imageName)
Return Value
The index of the image in both of the engine image lists. Returns -1 if the image name is not found.
Purpose
Returns the index of the image with the specified name, which you can use to access the list of images returned from the Engine.LargeImageListEx and Engine.SmallImageListEx properties.
Parameters
imageName As String
[In] Specifies the name of the image. Typically, the name includes a filename and the extension.