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




Whether to load the layer renderers on initialization.

Syntax

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

Example

For an example, see the InitializationParameters overview.

Remarks

If this property is true and the map service is a standard ArcIMS image service, then when a MapView is created from the MapService, the layers (specifically, FeatureLayer items) will contain valid objects in the layer's Renderer. If set to false, the layer's renderer will be null.

This property has no effect if the map service is an ArcMap image service.

See Also

© 2010 All Rights Reserved.