开发者

Screenshooting a wpf control from asp.net MVC

I have a smll web solution where i allow usres to upload small wpf controls to be saved for later use, one of the things i want to do is make a screensho开发者_运维百科t of the wpf components being uploaded. Im using asp.net mvc and looked into the RenderTargetBitmap, but cant seem to get it to work. - My first problem is adding the reference to "system.windows.media" to an asp.net mvc solution.

Anyone?


This is not possible, cannot render a STA WPF control in a web environment. Created a STA thread and tried, showed up "black" screenshot, was not rendered.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜