|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
Hi,
after update to the last version I can't set up WebView.Height bigger than height of the screen. It always set WebView.Height=Screen.Height if it's bigger. Before I didn't have this issue.
How to fix it?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, Can you send a test project to us so that we can look further? See here for more details: https://www.essentialobjects.com/forum/test_project.aspxThanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
I sent the test project, please check. It's easy to repeat, you just need to create WebView with height more than your screen height size. Nothing special. Before update it worked correctly. I didn't change the code.
In the test project I am trying to create WebView where Height = 5000px. But when I get visible content size it returns about 1000px (little less than screen size). Also I am trying to Capture image, the same size. However the page has height more than 1000px, you can see captured the image.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have confirmed this is a limitation on our end and we will change our size limitation to 10000 by 10000 in our next build. Please keep in mind that the size is not unlimited due to system resources.
Also, WebView.Capture do not have to depend on the WebView size. You can pass a rectangle to WebView.Capture that is larger than the screen size and it should capture correctly (again limited by system resources since it must construct a bitmap of that size in memory).
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
Thank you for the answer. When are you planning to have new build?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
The new build should be out later this week.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/29/2016 Posts: 64
|
Great! Thank you for your work!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is just to let you know that the new build is out. You can download it from our download page. Please take a look and let us know how it goes.
Thanks!
|
|