ESRI.ArcGIS.ADF.IMS
RecommendedMaxExtent Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapService Class : RecommendedMaxExtent Property




Gets the maximum extent of the Map if defined in the service configuration.

Syntax

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

Example

For an example, see the DefaultExtent property.

Remarks

Defines the maximum extent as recommended by the author of the map service. The author defines this maximum extent by using the 'name="Extent_Limit"' attribute in the ENVELOPE property of the ArcXML configuration file. If this extent limit has not been added to the service configuration, then RecommendedMaxExtent will be null.

This property will be null for ArcMap image services.

RecommendedMaxExtent is not necessarily equal to the extent of all features in the map service. If extent of all features is desired, see the FullExtent property, which is calculated from layer extents.

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

See Also

© 2010 All Rights Reserved.