Welcome Guest Search | Active Topics | Sign In | Register

How to find the WebView width? Options
iTester
Posted: Saturday, November 4, 2017 6:50:31 PM
Rank: Member
Groups: Member

Joined: 5/2/2017
Posts: 25
Hello,
Can you please explain how to find the width of WebView? Unfortunately I did not find anything relevant in EO online documentation.

Thanks!
eo_support
Posted: Monday, November 6, 2017 1:52:01 PM
Rank: Administration
Groups: Administration

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

If you just want to get the WebView's size, you would get it through it's container since the WebView requires a parent window and it always completely fills its parent window. If you use one of the wrapper class we provide (for example, EO.WinForm.WebControl), then you just use the Size property of the wrapper control.

If you want to get the size of the page inside the WebView, you can use this method:

https://www.essentialobjects.com/doc/eo.webbrowser.webview.getpagesize.aspx

Thanks!
iTester
Posted: Monday, November 6, 2017 3:06:56 PM
Rank: Member
Groups: Member

Joined: 5/2/2017
Posts: 25
Thank you!


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.