Rank: Newbie Groups: Member
Joined: 4/30/2015 Posts: 3
|
hi i am using WebBrowser Control. i want to generate the full snapshot of www.stackoverflow.comwhen i get the pageSize then it returns me page height around 90000px. when i resize the page height to 90000 then WebBrowser control does not render page content and it shows black page can suggest me in this regards ? quick response will be appreciated. thanks
|
Rank: Newbie Groups: Member
Joined: 4/30/2015 Posts: 3
|
sorry , that is 9000 not 90000
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
The WebBrowser screen capture feature works by capturing the output from the underlying screen buffer (the screen buffer can be onscreen or offscreen). However if the underlying screen buffer fails (which can happen when it's too big for a number of reasons, for example, no enough video memory, the display driver can't handle such big values, etc.), then you will get black images. As such the screen capture feature is not suitable for capturing big full pages. We are working on a different approach which uses printing capability to "print" the whole web page or any portion of the web page into an image. Once that is done, the capture feature will be much more usable and reliable.
Thanks!
|