Screen Capture?

Nov 1, 2010 at 7:28 PM

Is there any way to get a screen capture of the Game?  Preferably as a WriteableBitmap.


Nov 1, 2010 at 8:15 PM

You can go the Display and get the current frame, which is an array of ints. 

From your Game you have a Display property - then use the method : GetCurrentFrame().
For Silverlight this is basically just grabbing the pixels from its internal WriteableBitmap, and its dimension is the same as the Game class has been defined as.