Creating image snapshots from xaml control in WINRT

Aug 31, 2012 at 6:51 PM


   From the windows 8 documentation i found that, the WrtableBitmap.Render() method for creating snapshots from xaml control is missing. In my application for crating secondary tiles i need to create the corresponding image of my canvas. So my question is by using WritableBitmapEx is it possible to generate image stream from xaml control. If yes is the answer please provide some guidelines to implement the functionality.

Thanks in advance,


Aug 31, 2012 at 7:46 PM

Unfortunately that's not possible.  :(

- rene

Sep 10, 2012 at 4:40 PM

What exactly are you trying to do? Yes you can't do freeform XAML but if you just need text and images, it should be possible to render the text from a bitmap a character at a time (this is how XNA renders its text). If this sounds like a common need I might be able to borrow some of my SilverSprite code and put something together.

Sep 12, 2012 at 1:44 PM

Also see this:

Jul 8, 2013 at 7:15 AM
Edited Jul 8, 2013 at 7:17 AM
Well, nearly a year on and 8.1 is giving us this functionality now!
Jul 8, 2013 at 7:56 AM

Great the Win XAml team is listening. They actually rewrote huge parts of the Xaml renderer.

I will make sure to add a .Render() extension function to the WinRT version of WBX to provide a similar API like WB has on other platforms.
  • Rene