Height Property

 

Type: Integer

 

Returns the height of the visitor’s screen size resolution. For example, a visitor with their screen resolution set to 1024x768 would return 768.

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property, unless the browser is a fixed size device, such as the case for WebTV and handheld phones. This property requires the Professional or Enterprise Edition of BrowserHawk.

 

Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.

 

Example:

<%

set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "screensize" 'this is the equivalent of "height, width"

bhObj.GetExtPropertiesEx

%>

<html>

Your screen size is: <% =bhObj.width%> X <% =bhObj.height%>

</html>

 

Special notes for this property:

 

See Also:

HeightAvail Property

Width Property

WidthAvail Property

GetExtPropertiesEx Method

SetExtProperties Method