ESRI.ArcGIS.ADF.IMS
Extent Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class : Extent Property




Gets or sets the current extent of the Map.

Syntax

Visual Basic (Declaration) 
Public Overrides Property Extent As Envelope
Visual Basic (Usage)Copy Code
Dim instance As MapView
Dim value As Envelope
 
instance.Extent = value
 
value = instance.Extent
C# 
public override Envelope Extent {get; set;}

Example

For an example, see Envelope .

Remarks

This is the current extent of the map. It can be changed with this property to set the map extent upon the next drawing. The extent is also set with a variety of other methods, such as Draw(Envelope) and Zoom(Envelope).

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.