System.Drawing 不存在 [英] System.Drawing does not exist
本文介绍了System.Drawing 不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在 Windows Phone 7.1 上开发,例如在此代码中找不到 System.Drawing
I am developing on Windows Phone 7.1 and can not find System.Drawing, for example in this code
public static System.Drawing.Bitmap sfondo_panorama
{
get
{
object obj = ResourceManager.GetObject("sfondo_panorama", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
推荐答案
我认为 System.Drawing 在 WP7 中不可用,我不确定您要做什么,但请尝试 System.Windows.媒体
和System.Windows.Media.Imaging
.
I don't think System.Drawing available in WP7 and I'm not really sure what you are trying to do but try System.Windows.Media
and System.Windows.Media.Imaging
.
这篇关于System.Drawing 不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文