This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerSublayer Interface > IMapServerSublayer.LayerDescription Property (ArcObjects .NET 10.4 SDK) |
The layer description.
[Visual Basic .NET] Public ReadOnly Property LayerDescription As ILayerDescription
[C#] public ILayerDescription LayerDescription {get;}
[C++]
HRESULT get_LayerDescription(
ILayerDescription** layerDesc
);
[C++]
Parameters layerDesc [out, retval]
layerDesc is a parameter of type ILayerDescription
Use LayerDescription to access properties of ILayerDescription. The ID value may not match the Layer index value on ICompositeLayer or ICompositeLayer2. This is because the count on ICompositeLayer or ICompositeLayer2 does not include members of composite layers embedded within the MapServerSublayer. Only the parent layer is counted.
MapServerSubLayer does not support the ILayerDescription properties ScaleSymbols, ShowLabels and Visible. ScaleSymbols and ShowLabels can be accessed via IMapServerSubLayer. The property controlling a MapServerSubLayers visibility, Visible, can be accessed via ILayer.
The ILayerDescription properties SelectionFeatures, SelectionColor, SelectionSymbol, SetSelectionSymbol, SelectionBufferDistance and ShowSelectionBuffer can be used to select and buffer (euclidean buffer) features of a Map Server SubLayer.