Gets the index value of the selected ImageOverlay.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public int GetDrawIndex(
	ImageOverlay imageOverlay
)
Visual Basic (Declaration)
Public Function GetDrawIndex ( _
	imageOverlay As ImageOverlay _
) As Integer

Parameters

imageOverlay
Type: ESRI.ArcGISExplorer.Mapping..::.ImageOverlay

The image overlay.

Return Value

An integer denoting the indexed position within the ImageOverlayOrderCollection.

Remarks

The highest index is drawn first, the lowest last. This means that the image with an index of zero is drawn on top of all others in the collection.

For map item image overlays, when an image overlay is added to the map, it is automatically added at a DrawIndex of zero, which means it draws on top of other image overlays in the map.

See Also