ESRI.ArcGIS.ADF.Web.UI.WebControls Send comments on this topic.
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().

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

© 2009 All Rights Reserved.