ESRI.ArcGIS.ADF.Web.UI.WebControls
GetFullExtent Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.Geometry.Envelope
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
 
value = instance.GetFullExtent()
C# 
public ESRI.ArcGIS.ADF.Web.Geometry.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().

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.