GetImageIndex Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.GetImageIndex ( imageName)

Return Value

Long

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.


See Also

Engine.AddImage

Engine.GetImageName

Engine.LargeImageListEx

Engine.NumImages

Engine.SmallImageListEx

WAS THIS ARTICLE HELPFUL?

Not Helpful