Windows Phone (WP) Question: Download Windows Phone PDF

How to save screen from an XNA app?

Tweet Share WhatsApp

Answer:

Texture2D has a SaveAsJpeg method and a SaveAsPng method. Be aware that Zune does not sync pngs, so saveasjpeg is recommended
In April's CTP, you could try:
MediaLibrary library = new MediaLibrary(); library.SavePicture(“My Picture”, streamToJpegData); // You can use this from inside a Silverlight app provided you have the ID_CAP_MEDIALIB capability. // You do have to make sure the Stream you pass in contains JPEG file data, but otherwise it should work for you.

Download Windows Phone PDF Read All 82 Windows Phone Questions
Previous QuestionNext Question
How to save Silverlight UIElements into an image?How to get the geolocation data on a picture?