06-27-2011 02:14 AM
Hi all,
I have a vi that contains a tab control, a box, 2 picture control and a save button. I drag and drop "the box" on the "Pictr - 1".
What i want is, after the drag&drop process, when i press the "save" button, take a screenshot of "Pictr - 1" (with box). Then insert the this screenshot to "Pictr - 2". How can i do that?
(in the save event, i try to use write and read functions, but it does not work and get the error 1. I'm not good at using "Graphics Formats")
Or take screenshot of part of front panel (which includes pictr - 1) then insert it to Pictr - 2. I can take screenshot of all front panel (in the diagram disable structure) but it is not what i want. So is there any way of saving part of front panel as picture?
Best Regards.
Solved! Go to Solution.
06-27-2011 05:35 AM
I'm not clear on what you're after, but this might get you started. You can get the subset rectangle from the coordinates of the original picture.
06-27-2011 10:12 AM
Thank you jcarmody it works. : )