HeightAvail Property (.NET)

 

Type: Integer

 

Returns the height of the visitor’s browser window. For example, a visitor with their screen resolution set to 1024x768 may return 725.

 

This property is different than the Height property because HeightAvail provides information on the actual amount of height available in the browser window itself. Items such as task bars, scroll bars, browser navigation, and other such screen elements typically account for the difference between HeightAvail and Height.

 

Note: Use of this property requires the Professional or Enterprise Edition of BrowserHawk.

 

Special notes for this property:

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("HeightAvail, WidthAvail"); // you can use "browsersize" instead of "HeightAvail, WidthAvail"

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

Available browser window size: <% Response.Write(extBrow.WidthAvail + " wide X " + extBrow.HeightAvail + " high"); %>

</html>

 

See Also:

Height Property (.NET)

Width Property (.NET)

WidthAvail Property (.NET)