WebBrowser.DrawtoBitmap() generating blank images for few sites consistently

后端 未结 3 565
暖寄归人
暖寄归人 2021-01-17 18:01

I\'ve been using WebBrowser.DrawtoBitmap() in my asp.net page running in separate STA thread to capture web pages as an image. But I found that I\'m getting blank images for

3条回答
  •  情话喂你
    2021-01-17 18:38

    DrawToBitmap has limitations and dont always work as expected. Try instead work with native GDI+

    Here is example

提交回复
热议问题