ESRI.ArcGIS.ADF.IMS
VisibleInLegend Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > ImageLayer Class : VisibleInLegend Property




Gets or sets a property to determine whether a swatch for this layer shows in the legend.

Syntax

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

Remarks

This property determines whether the layer name and symbol displays in a legend image for the map, if and when a legend is drawn. It does not affect the visibility of the layer in the map.

See Also

© 2010 All Rights Reserved.