Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to save screen from an XNA app?



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

Post New Answer

More Windows Phone OS Interview Questions

Explain where is xmldocument class?

0 Answers  


Explain how to get the geolocation data on a picture?

0 Answers  


How to deserialize json from a rest call?

0 Answers  


Can we control the WebBrowser controls zooom?

1 Answers  


How to detect if my application is exiting so I can save state?

1 Answers  


Explain about windows phone bluetooth?

0 Answers  


What is safety mode on my phone?

0 Answers  


What is windows phone media support?

0 Answers  


Where is xmldocument class?

0 Answers  


Tell me where is the best recommended place to store both static and user-specified configuration information?

0 Answers  


Tell me is asp.net forms authentication supported?

0 Answers  


I looked through the medialibrary class in xna, and it looks like we can only enumerate through audio, but not video content in the media library?

0 Answers  


Categories