1
我创建了一个silverlight应用程序,我无法加载PresenetationCore.dll。presentationcore无法加载到silverlight应用程序
我需要将UIElements转换为图像或位图。
如何做到......?
我创建了一个silverlight应用程序,我无法加载PresenetationCore.dll。presentationcore无法加载到silverlight应用程序
我需要将UIElements转换为图像或位图。
如何做到......?
PresentationCore引用标准的.NET核心dll。您只能加载到专门引用silverlight核心dll的silverlight应用程序dll中。
要将UIElements转换为位图,您需要使用Silverlight的WritableBitmap
类及其Render
方法。