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

Apr 6, 2011 at 7: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

Apr 6, 2011 at 7: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:

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 8:29 PM

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