ESRI.ArcGIS.ADF.Web.UI.WebControls
GetFullExtent Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : GetFullExtent Method




Retrieves an envelope that surrounds all features in the Map.

Syntax

Visual Basic (Declaration) 
Public Function GetFullExtent() As Envelope
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Envelope
 
value = instance.GetFullExtent()
C# 
public Envelope GetFullExtent()

Return Value

Envelope bounding all map layers and features.

Remarks

When the Map initializes, it determines the extent of the features in all layers in each map resource. The envelope retrieved with this method will surround all features in the Map. It may be used for setting the Map extent, which would have the same effect as ZoomToFullExtent().

See Also

© 2010 All Rights Reserved.