Welcome Guest Search | Active Topics | Sign In | Register

How to make WebView.Height more than screen height? Options
ozheek
Posted: Friday, October 28, 2016 7:51:55 PM
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?
eo_support
Posted: Sunday, October 30, 2016 9:21:25 AM
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.aspx

Thanks!

ozheek
Posted: Sunday, October 30, 2016 8:46:22 PM
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.
eo_support
Posted: Monday, October 31, 2016 11:37:49 AM
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!
ozheek
Posted: Monday, October 31, 2016 12:38:06 PM
Rank: Advanced Member
Groups: Member

Joined: 8/29/2016
Posts: 64
Thank you for the answer. When are you planning to have new build?
eo_support
Posted: Monday, October 31, 2016 12:39:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

The new build should be out later this week.

Thanks!
ozheek
Posted: Monday, October 31, 2016 12:41:56 PM
Rank: Advanced Member
Groups: Member

Joined: 8/29/2016
Posts: 64
Great! Thank you for your work!
eo_support
Posted: Saturday, November 5, 2016 6:14:16 PM
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!


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.