Provides access to additional members that work with all layers.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
ILayer2 is a generic interface for all layer objects. This interface has a method to draw the layer and provides access to generic layer properties. This interface adds to what is supported by ILayer by adding a property that indicates whether or not the scale range properties are read only and a property that lets you set the layer's area of interest.
Members
Description | ||
---|---|---|
AreaOfInterest | The default area of interest for the layer. | |
Cached | Indicates if the layer needs its own display cache. | |
Draw | Draws the layer to the specified display for the given draw phase. | |
MaximumScale | Maximum scale (representative fraction) at which the layer will display. | |
MinimumScale | Minimum scale (representative fraction) at which the layer will display. | |
Name | Layer name. | |
ScaleRangeReadOnly | Indicates if the minimum and maximum scale range values are read-only. | |
ShowTips | Indicates if the layer shows map tips. | |
SpatialReference | Spatial reference for the layer. | |
SupportedDrawPhases | Supported draw phases. | |
TipText | Map tip text at the specified location. | |
Valid | Indicates if the layer is currently valid. | |
Visible | Indicates if the layer is currently visible. |
CoClasses that implement ILayer2
CoClasses and Classes | Description |
---|---|
BasemapSubLayer | Wrapper for layers in the basemap. |
CadAnnotationLayer | An ESRI Cad annotation layer. |
CadastralFabricSubLayer | Cadastral Fabric Feature Layer Object. |
CadFeatureLayer | ESRI CAD Feature Layer class. |
CompositeGraphicsLayer | A collection of graphics layers that behave like single layer. |
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. |
GroupLayer | A collection of layers that behaves like a single layer. |
MADtedLayer (esriDefenseSolutions) | A layer used to control the display of MA DTED Catalogs. |
MARasterLayer (esriDefenseSolutions) | A layer used to control the display of MA RPF Catalogs. |
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. |
RasterBasemapLayer | Basemap Layer containing a Raster. |
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. |
WMSGroupLayer | A container for the display of WMS group layers. |