FindImage Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Images.FindImage ( iconName, desiredWidth, desiredHeight)

Return Value

Picture

Purpose

Searches the collection for an image with a specific name.

Remarks

Returns the image in a Picture object. This method errors if the image is not found.

Parameters

iconName As String

[In] Specifies the name of the image to find. Typically, the name includes the filename and file extension. Icon files are located in the <TestStand>\Components\Icons and <TestStand Public>\Components\Icons directories.

desiredWidth As Long

[In] Specifies the width, in pixels, of the image to return.

desiredHeight As Long

[In] Specifies the height, in pixels, of the image to return.


See Also

Adapter.IconName

ApplicationMgr.GetImageName

ExecutionViewMgr.GetImageName

ListBarPageItem.IconName

SequenceFileViewMgr.GetImageName

StatusBarPane.IconName

Step.IconName

StepType.IconName

WAS THIS ARTICLE HELPFUL?

Not Helpful