This method of the IWebBrowser2 interface retrieves the height of the Microsoft® Internet Explorer main window.
public int getHeight();