01-28-2013 02:59 PM
Does anyone know how to insert a scatter plot into a MS word document? I develop an application using C# and Measurement Studio and my application is writing a report into MS word. I just need to add a scatter plot into the same document.
Thanks,
Yajai
Solved! Go to Solution.
01-29-2013 09:01 AM
Hey DrObb,
I was able to find some resources that I think should answer your question. First, the ScatterGraph class includes a ToFile() method which writes an image of the graph to a file: http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/7a3e2b67/
And I also found this forum post which does exactly what you're asking (save a scattergraph to a Word document). See Tanya_V's post here: http://forums.ni.com/t5/Measurement-Studio-for-NET/How-to-copy-an-image-to-a-file/m-p/1287058#M10443
I hope this helps answer your question, and please let us know if you need any more help after checking out those links!