ESRI.ArcGIS.ADF.Web.UI.WebControls
ViewHeight Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ViewHeight Property




Gets the client height of the map in pixels, or -1 if unknown.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public ReadOnly Property ViewHeight As Integer
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Integer
 
value = instance.ViewHeight
C# 
[BrowsableAttribute(false)]
public int ViewHeight {get;}

Remarks

Returns the height of the map in pixels reported by the client browser.

If the map's ViewWidth and ViewHeight are not set using pixels units, the ViewWidth and ViewHeight properties are not known until the map has been created on the client, and until then will return -1.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.