ESRI.ArcGIS.ADF.IMS
Extent Property
See Also 
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).

See Also

© 2010 All Rights Reserved.