AddImage Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.AddImage ( image, imageName)

Return Value

Long

The index of the added image.

Purpose

Adds an image to the list of images the engine maintains.

Remarks

The engine maintains lists of images for all the icons from the <TestStand>\Components\Icons and <TestStand Public>\Components\Icons directories and images you add using this method. This method adds an image to the engine image lists and the Images collection.

Parameters

image As Picture

[In] Must specify an icon image.

imageName As String

[In] Specifies the name to associate with the image. The name must be unique among all images.


See Also

Engine.GetImageIndex

Engine.GetImageName

Engine.LargeImageListEx

Engine.SmallImageListEx

Images

WAS THIS ARTICLE HELPFUL?

Not Helpful