ESRI.ArcGIS.ADF.IMS
LoadLayerExtents Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > InitializationParameters Class : LoadLayerExtents Property




Whether to load the layer extent information on initialization.

Syntax

Visual Basic (Declaration) 
Public Property LoadLayerExtents As Boolean
Visual Basic (Usage)Copy Code
Dim instance As InitializationParameters
Dim value As Boolean
 
instance.LoadLayerExtents = value
 
value = instance.LoadLayerExtents
C# 
public bool LoadLayerExtents {get; set;}

Example

For an example, see the InitializationParameters overview.

Remarks

If this property is set to true, then the extent of each map layer will be retrieved. It will be accessible in the FullExtent property of the FeatureLayer or ImageLayer once a MapView is constructed from the MapService. Also, the extent of all layers will be available in the MapService.FullExtent property.

See Also

© 2010 All Rights Reserved.