Using WriteableBitmapEx in Metro C# UI ?

Dec 3, 2013 at 8:53 AM
Hi ,
I'm building a metro ui c# and I 'm trying to use the WriteableBitmapEx.
I have an ImageControl in my XAML where I load it from a webservice. Before I load it to the image control I want to be able to draw some rectangles on my Image and then show it.
My question is
How can I draw rectangles in specific coordinates on my Image using writeablebitmapex in Metro?
Appreciate any guidance on this.
thank you
Dec 3, 2013 at 9:55 AM
See the samples for details. First use the FromStream method to load the image into a WriteableBitmap, then the method DrawRectangle or FillRectangle.
Even this projects start page has some snippets which show how to use it.
  • rene
Marked as answer by zakkar on 12/3/2013 at 3:50 AM
Dec 3, 2013 at 10:17 AM
Dec 3, 2013 at 10:21 AM
Ignore my previous post.
Found it in the source code.
thank you rene