This method of the IWebBrowser2 interface retrieves a Boolean value that indicates whether the object is visible or hidden.
public boolean getVisible();