> Hi I am using Labview 7.0 and I want to copy a graph to buffer so I
> can paste it to word/powerpoint in a vector graph format. Is there an
> easy way to achieve this?

Actually, LV does do this, and it can do it at runtime.

To copy any control at runtime, right click and choose Copy Data.  On 
the internal clipboard, LV places the object and raw binary data ready 
to be pasted on an empty panel or into an existing compatible object, 
like another graph.  On the external clipboard, it places an image of 
the control.

The image will be bitmap if the object uses complex drawing operations, 
in otherwords if it uses the 3D style, and probably the dialog style of 
controls.  If the object is the classic control, it will create an EMF. 
  LV gave up on WMF years ago since it is so limiting and incomplete.

If you are copying from a 3D, paste onto a new panel, replace with 
classic -- it should preserve the data -- then copy data again and paste 
into Excel, word, etc.

By the way, once you have it in one of those packages, when you select 
Edit graphic I think it is, they convert it from EMF to their own 
internal format.  This typically goes OK, but sometimes the appearance 
will change.  I think that is an MS issue.  Once in the other format, 
you can restyle the lines, delete elements, change fonts, change colors, 
etc.

Greg McKaskle


Reply via email to