ESRI.ArcGIS.ADF.Web.UI.WebControls
ViewHeight Property
See Also 
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.

See Also

© 2010 All Rights Reserved.