Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
C# |
---|
public sealed class ImageOverlayOrderCollection : IEnumerable<ImageOverlay>, IEnumerable |
Visual Basic (Declaration) |
---|
Public NotInheritable Class ImageOverlayOrderCollection _ Implements IEnumerable(Of ImageOverlay), IEnumerable |
Remarks
The ImageOverlayOrderCollection class is a read-only collection of ImageOverlay objects that are currently contained by the Map.
This class exposes several methods to change the drawing order of image overlays in the map: you can move a specified overlay up or down by a single position in the order, move the overlay to the top of the order (drawing above all other overlays in the map) or move the overlay to the bottom of the order (drawing underneath all other overlays in the map). It is also possible to move an overlay to a specific draw index or obtain the draw index for a specified overlay.
When an ImageOverlay object is added to the ChildItems collection, the object will be drawn on top of other image overlays in the map, at a draw index of 0.
An ImageOverlayOrderCollection cannot be explicitly instantiated; it is always obtained using the Map.ImageOverlayDrawingOrder property. You cannot change the contents of the collection directly; in order to add and remove items from the map use the appropriate methods on the Map.ChildItems collection.