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


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

ILayerFactory Interface

Provides access to members that control the creation of layers through a factory.

Product Availability

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

Members

Name Description
Read-only property CanCreate Indicates if the factory can create a layer based upon the specified object.
Method Create Creates layer(s) based on the specified object.
Read-only property LayerCategory Category name.
Method LoadLayers Loads a set of layers.
Read-only property PublicName Public name of the factory.

CoClasses that implement ILayerFactory

CoClasses and Classes Description
CadAnnotationLayerFactory (esriCartoUI) Esri CAD Annotation Layer Factory.
CadastralFabricLayerFactory A factory for create cadastral fabric layers.
CadFeatureLayerFactory (esriCartoUI) Esri CAD Feature Layer Factory
CadLayerFactory (esriCartoUI) Esri CAD Layer Factory.
CoverageAnnotationLayerFactory (esriCartoUI) A factory for creating coverage annotation layers.
EngineCadAnnotationLayerFactory Esri CAD Annotation Layer Factory.
EngineCadFeatureLayerFactory Esri CAD Feature Layer Factory.
EngineCadLayerFactory Esri CAD Layer Factory.
EngineCoverageAnnotationLayerFactory A factory for creating coverage annotation layers.
EngineIMSLayerFactory IMS Layer Factory.
EngineNetworkLayerFactory The factory used to create NetworkLayers.
EngineTopologyLayerFactory A factory for creating topology layers.
EngineWMSMapLayerFactory Provides programmatic access to a WMS map layer factory.
FeatureLayerFactory A factory for creating layers based on feature classes and layer files.
FeatureServerLayerFactory Provides programmatic access to a map server layer factory.
GeoVideoLayerFactory (esriGlobeCore) The layer factory for GeoVideo layers from .agv files.
GlobeLayerFactory (esriGlobeCore) The layer factory for globe layers from gmx.xml files.
GlobeServerLayerFactory (esriGlobeCore) Provides programmatic access to a globe server layer factory.
GroupLayerFactory A factory for creating group layers.
GxBrowserFactory (esriCartoUI) A factory for creating layers based on feature classes and layer files.
ImageServerLayerFactory The image service layer factory.
IMSGlobeLayerFactory (esriGlobeCore) The layer factory for globe layers from ims globe services.
IMSLayerFactory (esriArcMapUI) IMS Layer Factory.
LasDatasetGxBrowserFactory (esriArcMapUI) The LasDataset GX Browser Factory is used to help look for LasDatasets.
LasDatasetLayerFactory The LasDataset Layer Factory is used to help look for LasDataset layers.
MapServerLayerFactory Provides programmatic access to a map server layer factory.
NetCDFLayerFactory A factory for creating NetCDF layers.
NetworkLayerFactory (esriArcMapUI)
ProcessLayerFactory (esriGeoprocessing) A factory for creating process layers.
RasterCatalogGxBrowserFactory (esriArcMapUI) The Raster Catalog GX Browser Factory.
RasterCatalogLayerFactory The Raster Catalog Layer Factory.
RasterGxBrowserFactory (esriArcMapUI) The Raster GX Browser Factory is used to help look for rasters on disk.
RasterLayerFactory The Raster Layer Factory is used to help look for rasters on disk.
SchematicLayerFactory (esriSchematic) Schematic Layer Factory object.
SearchResultsLayerFactory (esriCatalog) A factory for creating search result layers. This object is not supported on ArcGIS version 10.1. or later.
TemporalLayerFactory (esriTrackingAnalyst) A factory for creating temporal layers.
TerrainGxBrowserFactory (esriArcMapUI) The Terrain GX Browser Factory is used to help look for Terrains.
TerrainLayerFactory The Terrain Layer Factory is used to help look for Terrains.
TinGxBrowserFactory (esriArcMapUI) The TIN GX Browser Factory is used to help look for TINs on disk.
TinLayerFactory The TIN Layer Factory is used to help look for TINs on disk.
TopologyLayerFactory (esriEditorExt) A factory for creating topology layers.
WCSLayerFactory Provides access to a WCS layer factory.
WMSMapLayerFactory (esriArcMapUI) Provides programmatic access to a WMS map layer factory.
WMTSLayerFactory Provides programmatic access to a WMTS server layer factory.

.NET Samples

Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC)