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

See Also

© 2010 All Rights Reserved.