1
我創建了一個silverlight應用程序,我無法加載PresenetationCore.dll。presentationcore無法加載到silverlight應用程序
我需要將UIElements轉換爲圖像或位圖。
如何做到......?
我創建了一個silverlight應用程序,我無法加載PresenetationCore.dll。presentationcore無法加載到silverlight應用程序
我需要將UIElements轉換爲圖像或位圖。
如何做到......?
PresentationCore引用標準的.NET核心dll。您只能加載到專門引用silverlight核心dll的silverlight應用程序dll中。
要將UIElements轉換爲位圖,您需要使用Silverlight的WritableBitmap
類及其Render
方法。