08-21-2007 04:20 PM
08-22-2007 05:10 AM
I believe ActiveX containers are actually seperate windows (e.g. you would get a Mouse Leave event for the VI if you enter one) and so are not handled by this method (although they should be and you should file a bug report).
As for workarounds, how about adding an array of control references to the subVI which captures the image and the capture the image of each control in that array seperately and integrate it into the final image using its Position and Size properties? I know it's not ideal, but it should probably work.
08-22-2007 08:10 AM
08-22-2007 08:45 AM
I was certain that this was working correctly earlier this year but I'm getting old and maybe I can't remember. I think the proof of it is that I couldn't find a archived sample report.
Thank you for the suggestions. I decided to put a picture control directly behind and the same size as the control. Whenever I use the Get Image, I take a jpg of the activeX control and stuff it into the picture. Then when the activeX control 'disappears' the picture is showing what it looked like the instant before.
Jim West
08-22-2007 09:55 AM
08-22-2007 11:10 AM
08-22-2007 11:36 AM
Jim wrote
I decided to put a picture control directly behind and the same size as the control. Whenever I use the Get Image, I take a jpg of the activeX control and stuff it into the picture. Then when the activeX control 'disappears' the picture is showing what it looked like the instant before.
What a great work-around!
I love it.
Ben
08-22-2007 01:09 PM
07-19-2016 09:58 AM
Hi,
the suggested sollutions do not work when trying to make an image of an ActiveX with a pdf file inside it.
But, for pdf files, take a look at https://visualstudiogallery.msdn.microsoft.com/b590710c-efe6-4667-842e-2a592ce000cc
This SDK can convert a pdf file to an image file (the free version only the first 10 pages) and it works from within LabView (as .NET dll)