Quantcast
Channel: WriteableBitmapEx
Viewing all articles
Browse latest Browse all 360

New Post: How to use writeablebitmapex for windows8 store app (c# metro) on vs2013

$
0
0
Hi all,

I'm trying to use the lib i used on a windows phone 8 app where i appreciated it... But it seems that the project doesn't load the lib and so when i try to write the following code:
        Image uielement = new Image();
        uielement.Stretch = Stretch.Uniform;
        uielement.Source = bitmap;
        WriteableBitmap overlayBitmap = new WriteableBitmap(uielement, null);
I get an error :
Error 1 The best overloaded method match for 'Windows.UI.Xaml.Media.Imaging.WriteableBitmap.WriteableBitmap(int, int)' has some invalid arguments

I don't know what to do...

Ide: vs2013
OS: windows8.1

I referenced the lib into the NetCore45 folder...

Thanks in advance for all your replies....

Bye

Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>