Welcome Guest Search | Active Topics | Sign In | Register

having issue while creating a full snapshot of webpage. Options
sm
Posted: Thursday, April 30, 2015 5:25:17 AM
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.com
when 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
sm
Posted: Thursday, April 30, 2015 6:03:23 AM
Rank: Newbie
Groups: Member

Joined: 4/30/2015
Posts: 3
sorry , that is 9000 not 90000
eo_support
Posted: Thursday, April 30, 2015 11:54:56 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.