![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ViewWidth Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ViewWidth Property |
Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public ReadOnly Property ViewWidth As Integer |
C# | |
---|---|
[BrowsableAttribute(false)] public int ViewWidth {get;} |
Returns the width 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.
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