Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

AddImage Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.AddImage ( image, imageName)

Return Value

long

The index of the image that was added.

Purpose

Adds an image to the engine image lists.

Remarks

The engine maintains lists of images that consist of all the icons from the <TestStand>\Components\NI\Icons and <TestStand>\Components\User\Icons directories as well as images added using this method. This method adds an image to the engine image lists and the Images collection.

Parameters

image As Picture

[In] Must be 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

GetImageIndex

GetImageName

Images

LargeImageList

SmallImageList


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit