ArcObjects Library Reference  (Carto)    

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

Description
Read/write property LayerWeight Default layer position.

CoClasses that implement ILayerPosition

CoClasses and Classes Description
CadAnnotationLayer An ESRI Cad annotation layer.
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.
KmlLayer (esriGlobeCore) ESRI KML Layer class.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MapServerLayer Provides programmatic access to a map server layer.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
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.
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.

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