title: Get the Y axis height of WebBrowser control document
body: <p>I am trying to get the height of a document in a web browser control.</p>
  
  <p>At the moment i'm using the code below but it always returns 622 and i know my documents are all different sizes.</p>
  
  <pre><code>private void webCompareSQL_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
          {
              HtmlDocument htmldoc = webCompareSQL.Document;
             int ScrollHight = htmldoc.Window.Position.Y;
          }
  </code></pre>
  
  <p>Can someone please show me the right way to do this?</p>