Images Method

Measurement Studio User Interface

Images Method

Syntax

CWGraph.Images (Item)

Return Type

CWImage

The specified image.

Purpose

Provides access to the CWImage objects in the CWGraph control.

Remarks

Use the Images method to perform operations like loading custom bitmaps and adjusting blink or animation speeds.

For the CWGraph control, the following images are available: "Caption", "Graph Frame", "Plot Area".

Parameters

Item As Variant

The string of the CWImage or the index of the CWImage (starting at 1).

Example

'Make the graph's caption blink fast
CWGraph1.Images("Caption").BlinkInterval = cwSpeedFast

'Access the caption using it's index rather than the
'string "Caption"
CWGraph1.Images(1).BlinkInterval = cwSpeedFast