Author |
Topic |
|
newuser_ca
70 Posts |
Posted - 07/12/2012 : 11:43:37 AM
|
OrignPro 8.6 in Win 7.
I created a GUI (written in C#) to run an Origin function to plot and then display plots generated from Origin. Now I export Origin plot to a .jpg file and then display in my GUI window. Here is an example:
But as a picture, the user can't zoom in, zoom out or get the (x,y) value in the picture. Is there a way to embedded a window in the GUI window when the user double click the picture, all the Origin features will be activated? The Origin 8.6 allows the user to zoom in/out, scale in, data reader, screen reader and etc.
Is this something called OLE?
Thanks. |
|
newuser_ca
70 Posts |
Posted - 07/16/2012 : 1:36:40 PM
|
anybody has an idea? |
|
|
easwar
USA
1964 Posts |
Posted - 07/17/2012 : 10:10:00 AM
|
Hi,
If you go to Tools->Options dialog and then the Graph tab, you will see a check box "Enable OLE In-place Activation". If you check this box, then when you copy-paste a graph from Origin to say Word or PowerPoint, you can double click on elements in the graph and dialogs such as Axes dialog, Plot Details etc will open for making changes. But the functionality is limited, you will not have access to other tools such as zoom etc. This of course requires that Origin is installed on the client machine.
For your particular application needs, if for example all you need is ability to zoom into the x axis, you could pop up some dialog for user to enter the start and end values, and then send that back to the server to fetch an updated image?
Easwar OriginLab
|
|
|
|
Topic |
|
|
|