How to save screen from an XNA app?
Answer / diana
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me can I get weather for my location?
Can I get weather for my location?
Explain how to save screen from an xna app?
Explain how to restart or shutdown my application programmatically?
What is the latest version of windows?
What is Send to AP and who gets it?
Tell me about Windows Phone User interface?
What are the supported codecs for video?
Can I turn off some of my local papers?
What is windows phone user interface?
Do you know will Microsoft ship a panorama control with the run-time?
Tell me is there any internal page notification that it receives to detect a phone call?