The current extent of the map.
Syntax
Visual Basic (Declaration) | |
---|
<ResCategoryAttribute("Map Behavior")>
<ResDescriptionAttribute("The initial extent of the map.")>
<BindableAttribute(Bindable=False, Direction=BindingDirection.OneWay)>
<DefaultValueAttribute()>
Public Overridable Property Extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Map
Dim value As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
instance.Extent = value
value = instance.Extent |
C# | |
---|
[ResCategoryAttribute("Map Behavior")]
[ResDescriptionAttribute("The initial extent of the map.")]
[BindableAttribute(Bindable=false, Direction=BindingDirection.OneWay)]
[DefaultValueAttribute()]
public virtual ESRI.ArcGIS.ADF.Web.Geometry.Envelope Extent {get; set;} |
Example
For an example of setting the Map extent using various callback methods, see the developer kit sample "Common_Callback", C# or VB version--see the Default.aspx page.
Remarks
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