ESRI.ArcGIS.ADF.IMS
Renderer Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class : Renderer Property




Gets or sets the renderer.

Syntax

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

Example

For examples, see individual renderer classes, such as SimpleRenderer .

Remarks

For standard ArcIMS image services, provides access to get or set the renderer of the layer. This allows examining and modifying how the layer appears when drawn in a map image.

For the renderer to be loaded when the MapView is created, the LoadRenderers property of the InitializationParameters used to create the MapView must be set to true when the view is created. Otherwise, the Renderer will be null (Nothing) on MapView construction.

Even if the renderer is not loaded from the map service, you can set a new renderer for the layer. The new renderer will replace the existing renderer. Be aware that this may replace a group renderer, which may contain both labels and feature symbols.

The Renderer is not available with ArcMap Server image services. The Renderer will be null (Nothing), and if an error will be thrown if a renderer is set on any layer.

See Also

© 2010 All Rights Reserved.