ESRI.ArcGIS.ADF.IMS
FullExtent Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapService Class : FullExtent Property




Gets the extent of all features in all layers in the map service.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property FullExtent As Envelope
Visual Basic (Usage)Copy Code
Dim instance As MapService
Dim value As Envelope
 
value = instance.FullExtent
C# 
public Envelope FullExtent {get;}

Example

For an example, see the DefaultExtent property.

Remarks

This is the extent of all layers in the map service. This extent is calculated by examining each layer's extent property and creating a bounding box around all layers.

This property will be null (Nothing) if the InitializationParameters.LoadLayerExtents property is set to true when the MapService is initialized.

The FullExtent may not be equal to RecommendedMaxExtent, which can be set to any extent by the creator of the service.

This property, as with all properties of MapService, is read-only.

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.