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


ILayerDescriptor Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILayerDescriptor Interface

Provides access to the available properties of a layer descriptor object.

Product Availability

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

Members

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 map, and is used to identify the layer in a number of method calls.
Read-only property Name The name of the layer.
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.
Write-only property SelectionFilters The selection filter for the layer. When drawing, the filter will be applied and the resulting selection will be displayed on the map.
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 Transparency The transparency of the layer. The value represents the percentage of transparency, and should range from 0 (no transparency) to 100 (completely transparent).
Read/write property Visible Indicates whether the layer is visible.

CoClasses that implement ILayerDescriptor

CoClasses and Classes Description
LayerDescriptor The Layer Descriptor coclass contains a description of a layer in a map.