This document is archived and information here might be outdated.  Recommended version.


ILayerPosition Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerPosition Interface
ArcGIS Developer Help

ILayerPosition Interface

Provides access to members that control a layer's default position in the map interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Read/write property LayerWeight Default layer position.

Classes that implement ILayerPosition

Classes Description
BasemapLayer Layer containing a Basemap.
CadAnnotationLayer An Esri Cad annotation layer.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer Esri CAD Feature Layer class.
CadLayer Esri CAD Layer class.
CoverageAnnotationLayer An Esri coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
GlobeServerLayer (esriGlobeCore) Provides programmatic access to a globe server layer.
GroupLayer A collection of layers that behaves like a single layer.
ImageServerLayer Image server layer source and display options.
IMSMapLayer A container for the display and manipulation of IMS layers.
IMSSubLayer An IMS Layer as a sublayer of an IMSMapLayer.
KmlLayer (esriGlobeCore) Esri KML Layer class.
LasDatasetLayer The Terrain Layer class.
MapServerLayer Provides programmatic access to a map server layer.
MosaicLayer The layer implementation of the Mosaic Dataset.
NALayer (esriNetworkAnalyst) The layer for defining, solving, and viewing network analysis results.
NetworkLayer Esri Network Layer CoClass.
NITFGraphicsLayer A NITF graphics layer containing NITF CGM graphics.
ProcessLayer (esriGeoprocessing) A collection of process layers that behaves like a single layer.
RasterCatalogLayer Raster catalog source and display options.
RasterLayer Raster layer source and display options.
SchematicLayer (esriSchematic) A Schematic layer object.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TerrainLayer The Terrain Layer class.
TinLayer The TIN Layer class.
TopologyLayer A collection of properties for a topology layer.
WCSLayer WCS layer source and display options.
WMSGroupLayer A container for the display of WMS group layers.
WMSMapLayer A container for the display and manipulation of WMS layers.
WMTSLayer Provides programmatic access to WMTS layer.

Remarks

ILayerPosition is implemented by layers that wish to define their order when added to higher level components, like maps, when auto arrange is used.  The LayerWeight property defines the weight of the layer in the auto arrange order.   During auto arrange, the higher weight layers are added to the map first, which means they draw lower in the draw order.

Default weights for layers are these values:
Annotation layers = 97
Points layers = 98
Polyline layers = 99
Polygon Layers = 100