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

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.