Thursday, 19 September 2013

Scroll Height of System.Windows.Controls.WebBrowser

Scroll Height of System.Windows.Controls.WebBrowser

I am using the System.Windows.Controls.WebBrowser control, and I need to
get the height of the rendered html document.
The only height value I've found is WebBrowser.Document.body.offsetheight.
However, this is the same value as the control's height.
I know the height of the page must be stored someplace since the scroll
bar knows the value.
Everything I find in my searching has been about the
Windows.Forms.WebBrowser.

No comments:

Post a Comment