I'm writing an app for Windows Phone 8.1 in VS 2013. I'd like to use a WriteableBitmap, which is supposed to be in the System.Windows.Media.Imaging namespace. But it's not. I have no System.Windows.Media namespace. I can't add a reference. I have two references added by the WP8 app wizard: ".Net for Windows store apps" and "Windows Phone 8.1".
Am I missing something?
Windows.UI.Xaml.Media.Imaging.WriteableBitmap
You are trying to reference OLD SILVERLIGHT API's
in NEW XAML API's
, by using Windows.UI.Xaml.Media.Imaging
you will be able to get the WriteableBitmap class in Windows Phone 8.1 & to know more this Link will help you.
Hope this is what you were looking for. See if this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.