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

ILayerDescription2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription2 Interface
ArcGIS Developer Help

ILayerDescription2 Interface

Provides access to the available properties of a layer description object. Note: the ILayerDescription2 interface has been superseded by ILayerDescription3. Please consider using the more recent version.

Product Availability

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


Name Description
Read/write property DefinitionExpression The definition expression for the layer.
Read/write property ID The layer ID. This is a unique ID for the layer, and is used to identify the layer in a number of method calls.
Read/write property ScaleSymbols Indicates whether the layer should scale its symbols according to the reference scale.
Read/write property SelectionBufferDistance The selection buffer distance. When drawing, and if a selection filter is specified, a buffer zone of the specified distance will be displayed around the selected features.
Read/write property SelectionBufferSymbol Symbol used for drawing selection buffer.
Read/write property SelectionColor The selection color (used when SetSelectionSymbol = FALSE).
Read/write property SelectionFeatures Array of selected features.
Read/write property SelectionSymbol The selection symbol.
Read/write property SetSelectionSymbol Indicates if the selected set of features is drawn using the SelectionSymbol.
Read/write property ShowLabels Indicates whether the layer should display its dynamic labels.
Read/write property ShowSelectionBuffer Indicates whether the selection buffer should be displayed.
Read/write property SourceID The id of the source to use when drawing the layer.
Read/write property Visible Indicates whether the layer is visible as defined in the TOC (i.e. marked on).

Inherited Interfaces

Interfaces Description
ILayerDescription Provides access to the available properties of a layer description object.

Classes that implement ILayerDescription2

Classes Description
LayerDescription The Layer Description coclass contains settings of a layer in a map.