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


ILayerExtensions Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerExtensions Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILayerExtensions Interface

Provides access to the extensions of a layer.

Product Availability

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

Members

Name Description
Method AddExtension Adds a new extension.
Read-only property Extension The extension at the specified index.
Read-only property ExtensionCount Number of extensions.
Method RemoveExtension Removes the specified extension.

CoClasses that implement ILayerExtensions

CoClasses and Classes Description
BasemapLayer Layer containing a Basemap.
CadAnnotationLayer An Esri Cad annotation layer.
CadastralFabricLayer Cadastral Fabric Layer Object.
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).
FDOGraphicsSublayer A collection of properties for an annotation sublayer layer (feature data object graphics sublayer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
GeoVideoLayer (esriGlobeCore) The georeferenced video layer.
GlobeGraphicsLayer (esriGlobeCore) The Globe Graphics Layer.
GlobeLayer (esriGlobeCore) The cache-only globe layer.
GlobeServerLayer (esriGlobeCore) Provides programmatic access to a globe server layer.
GraphicsLayer3D (esri3DAnalyst) A 3D Graphics 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.
LasDatasetLayer The Terrain Layer class.
MapServerLayer Provides programmatic access to a map server layer.
MapServerRESTLayer Provides programmatic access to a a layer based on MapServer using REST access.
MapServerRESTSubLayer Provides programmatic access to a MapServer SubLayer.
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.
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.
WCSLayer WCS layer source and display options.
WMSMapLayer A container for the display and manipulation of WMS layers.
WMTSLayer Provides programmatic access to WMTS layer.

Remarks

Use this interface to manage a layer's extensions. Extensions extend a layer's behavior.

There are several ESRI layer extensions. One set implements ILayerExtensionDraw. These coclasses store information that is used to display linearly referenced data layers. Another set of ESRI layer extensions implement IDataLayerExtension. These coclasses store information that is used to display 3D data layers in ArcScene and ArcGlobe. Another set implements IFeatureLayerSourcePageExtension. These coclasses control special dialogs for setting a feature layer's data source.  Layer extensions need to implement IPersistStream to be persisted in the layer/map.

.NET Snippets

Add Drape Layer to Globe Elevation Surface

.NET Samples

3D multipatch examples (Code Files: GraphicsLayer3DUtilities)

.NET Related Topics

3DAnalyst | GlobeCore | How to drape a layer on an elevation surface in globe | Location | Using feature templates