ESRI.ArcGIS.ADF.IMS
ReverseOrder Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : ReverseOrder Property




Gets or sets a value that reverses the default order of the legend entries.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

If true, the layers in the legend are listed from top down in the order they appear on the map. In other words, layers drawn on top of other layers will appear above those layers in the legend. This is the same approach used in applications such as ArcGIS desktop. If this property is set to false, the layers will appear in reverse order.

The order applies only to layers. Values for layers using a ValueMapRenderer will not be reversed.

Does not apply to ArcMap Server image services.

See Also

© 2010 All Rights Reserved.