I want to know how to get the TOTAL height of the html document loaded into the TWebBrowser component (Delphi)?
I found something like this and it does not work:
webbrowser.oleobject.document.body.scrollheight
I placed it inside the OnDocumentComplete event.
I need height because I am calculating the PageSize ScrollBar property (my custom scrollbar - the embedded WebBrowser is disabled), which depends on the height of the web page.
Thanks for any feedback, best wishes
source
share