05-06-2013 02:55 AM
My goal is to open assembly-picture, which is a PDF-file, and draw dots or circles to the assembly picture as to show user points where there is problems. The spots are recorded as coordinates on another program.
I have an ActiveX container which shows the PDF file. Is there a way to write the coordinate points in front of the container?
Hope you´ll understand my question.
05-08-2013 03:23 AM - edited 05-08-2013 03:26 AM
Short answer you can't do that. The ActiveX or .Net container is entirely out of control of LabVIEW and anything you place in that area will be masked out by whatever the external object wants to draw on the screen.
Longer answer, you can do it if the external object allows such operations. But then you have to invoke methods and properties on that object to draw the desired effects.
Overlapped drawing is already a very complex piece of code to do right when everything is inside the same application code base, but virtually undoable if you talk about external components. ActiveX controls don't even support this in any way. .Net does support some overlapping for different control object servers, however I haven't come across any who support it properly.
05-08-2013 09:52 AM
Extract the picture out of pdf, save to a png, jpg or bmp.
Then LabVIEW can handle it.