Rank: Newbie Groups: Member
Joined: 3/28/2017 Posts: 5
|
I'd like to capture an image of the page displayed in an EO.WebBrowser. Unfortunately, Capture() doesn't work as the page uses as JS canvas for drawing. I'm unable to use CopyFromScreen as the window may not be visible. Print() works correctly, so it appears that Capture() and Print() use different mechanisms. Is there any way to capture an image of what's displayed in the browser short of printing to pdf and attempting to convert the pdf into an image?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, They follow largely the same code path. One thing that can happen is if the canvas are initialized with JavaScript and you try to capture too soon before the JavaScript code have a chance to run, then obviously you won't get anything. So you can check that first. If that is not the problem, then you can try to isolate the problem into a test project and send the test project to us. Once we have that we will be happy to investigate further. See here for more information on how to send test project to us: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|