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 how to detect the resolution of my device?

0 Answers  


How to access the liveid credentials a user has entered into the device?

0 Answers  


Tell me Will TextTrimming property be available on TextBlock?

1 Answers  


The MarketPlace Launchers overloads for Show has parameters, what are these?

1 Answers  


Tell me is it possible to use custom pixel shader in xna?

0 Answers  


Suppose my site is down, and async calls are taking too long to timeout. How can I set a reasonable timeout?

0 Answers  


How to change language settings?

1 Answers  


Explain how the volume work between apps and hardware buttons on the device?

0 Answers  


Can we intercept the search button to do an app specific search?

0 Answers  


Tell me is it temporary that the control styles are included in App.xaml?

1 Answers  


Tell me in my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?

0 Answers  


Suppose I am hitting System.InvalidOperationException in the Navigate method of the WebBrowserControl. What gives?

1 Answers  


Categories