I tried using webBrowser1.Document.Body.ScrollTop
and webBrowser1.Document.Body.ScrollLeft
, but they don\'t work. They always return 0 and I can\'t
For anyone interested, here's the C# code equivalent to Marc's answer:
System.Windows.Forms.HtmlDocument htmlDoc = webBrowser.Document;
if (htmlDoc != null)
{
int scrollTop = htmlDoc.GetElementsByTagName("HTML")[0].ScrollTop;
int scrollLeft = htmlDoc.GetElementsByTagName("HTML")[0].ScrollLeft;
}