开发者

Screenshooting a wpf control from asp.net MVC

开发者 https://www.devze.com 2022-12-23 03:57 出处:网络
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 up

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

精彩评论

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

关注公众号