Gets the index value of the selected Layer.

Namespace:  ESRI.ArcGISExplorer.Mapping
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public int GetDrawIndex(
	Layer layer
)
Visual Basic (Declaration)
Public Function GetDrawIndex ( _
	layer As Layer _
) As Integer

Parameters

layer
Type: ESRI.ArcGISExplorer.Mapping..::.Layer
The layer.

Return Value

An integer denoting the indexed position of the specified layer within the LayerOrderCollection.

Remarks

When a layer is added to the map, it is automatically added at a DrawIndex of zero, which means it draws on top of other layers in the map.

See Also

Relate Topics:
  GetEnumerator Method
  Move Method
  MoveDown Method
  MoveToBottom Method
  MoveToTop Method
  MoveUp Method
Created by Atop CHM to web converter,© 2009 all right reserved.