ArcObjects Library Reference  (Carto)    

ILayer2 Interface

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
Read/write property AreaOfInterest The default area of interest for the layer.
Read/write property Cached Indicates if the layer needs its own display cache.
Method Draw Draws the layer to the specified display for the given draw phase.
Read/write property MaximumScale Maximum scale (representative fraction) at which the layer will display.
Read/write property MinimumScale Minimum scale (representative fraction) at which the layer will display.
Read/write property Name Layer name.
Read-only property ScaleRangeReadOnly Indicates if the minimum and maximum scale range values are read-only.
Read/write property ShowTips Indicates if the layer shows map tips.
Write-only property SpatialReference Spatial reference for the layer.
Read-only property SupportedDrawPhases Supported draw phases.
Read-only property TipText Map tip text at the specified location.
Read-only property Valid Indicates if the layer is currently valid.
Read/write property Visible Indicates if the layer is currently visible.

CoClasses that implement ILayer2

CoClasses and Classes Description
CadFeatureLayer ESRI CAD Feature 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.
GroupLayer A collection of layers that behaves like a single layer.
MADtedLayer (esriMilitaryAnalyst) A layer used to control the display of MA DTED Catalogs.
MARasterLayer (esriMilitaryAnalyst) 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.
ProcessLayer (esriGeoprocessing) A collection of process layers that behaves like a single layer.
RasterCatalogLayer Raster catalog source and display options.
SchematicLayer (esriSchematic) Schematic layer object.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
WMSGroupLayer WMS GroupLayer class

 


Feedback Send feedback on this page