ControlImage Method

Measurement Studio User Interface

ControlImage Method

Syntax

Object.ControlImage ()

Return Type

Picture

The image of the entire control.

Applies To

CWButton

CWGraph

CWKnob

CWNumEdit

CWSlide

Purpose

Returns an image of the entire control.

Remarks

You can use the image of the control for printing. The image returned is in the form of an enhanced metafile (EMF).

Example

'Set the image of the picturebox control in VB to
'An image of the entire graph
Set Picture1.Picture = CWGraph1.ControlImage