2011-01-11 51 views
0

如何使用嵌入式html製作Silverlight控件中的圖像。 Html嵌入了HtmlPage幫助。目前在圖像中我看到空白空間,其中必須是html內容。我知道HTML是在絕對定位div渲染Silverlight插件。使用嵌入式html製作Silverlight控件的圖像

Image proxyImage = new Image(); proxyImage.Source = new WriteableBitmap(Application.Current.RootVisual, Application.Current.RootVisual.RenderTransform);

回答

0

線索在你的答案「over silverlight plugin」。 Silverlight無法訪問瀏覽器在圖像上呈現的圖像。它只能看到它正在渲染的表面。