Hi, Thanks for your suggestion but I am afraid it’s not working here:
I have prepared a short movie on dropbox so you can see what happens when I print it and then open as PDF in MacOS Preview. Not sure at all what is going wrong. Could it be something to do with the scaling in the amCharts example? Dropbox Link: https://www.dropbox.com/s/1ijbw12v0176kgm/test.mov?dl=0 Thanks Terry > On 1 Jul 2017, at 18:26, hh via use-livecode <[email protected]> > wrote: > > This works here. > > on mouseUp > local ii="myImage", bb="Browser" > if there is no img ii then create img ii > put globalLoc(the topLeft of widget bb) into TL > put globalLoc(the botRight of widget bb) into BR > export snapshot from rect (TL,BR) to img ii as PNG > hide widget bb -- avoid artefacts from browser update > print card from (the topLeft of img ii) to (the botRight of img ii) > show widget bb > end mouseUp > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
