Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

graph into vector image

Hi,
Is there a way to export an XY graph into a vector image file?  Preferrably with the click of a button....
Thanks
Aleks.
0 Kudos
Message 1 of 2
(2,851 Views)
labuda,

You may try the following code, and put it in a button call back.

            Image myBitmap;
            myBitmap = xyDataScatterGraph.ToImage();
            myBitmap.Save("C:\\text.wmf", ImageFormat.wmf);

I am not very familiar with vector image file, but I believe wmf is one of the format. Is there a particular vector image format you're trying to save to?

Song D

Message Edited by Song D on 08-30-2007 06:56 PM

Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 2
(2,833 Views)