Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

cwgraph savepicture

I want to save the plot as a jpg (or other: tiff, .. ) how can I use CWGraph?
0 Kudos
Message 1 of 2
(5,902 Views)
Hi! Sure you can! Any CW object exposes a ControlImage method that creates a windows metafile image of the control.

Something like

SavePicture CWGraph.ControlImage, "C:\myCWgraph.emf"

should create and save this file. You also can find functions to convert this file to other format (jpeg, tiff, ...)

Hope this helps.

Ciao.

NicolaC
National Instruments
0 Kudos
Message 2 of 2
(5,892 Views)