How to print the map or get the image (jpg) of the current view

Apr 6, 2011 at 6:43 PM

I need to print the map shown, there is something in the library that I allow this? or you can get a JPG image of the map?

My English is very bad I'm from Venezuela, I translated it in google so sorry

Coordinator
Apr 6, 2011 at 6:46 PM

The InfoStrat.VE controls can be treated like any other UIElement in WPF and you can use standard techniques for rendering them to an image.

Try this:

http://stackoverflow.com/questions/2977385/wpf-screenshot-jpg-from-uielement-with-c

Note that you should not do this every frame since it is very CPU intensive. Only take screenshots like this rarely.

Apr 6, 2011 at 7:29 PM

Joshb thank you very much, this will allow me I want to print as a greeting.