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


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

ILegendItem2.ShowLayerName Property

Indicates if layer name is visibile.

[Visual Basic .NET]
Public Property ShowLayerName As Boolean
[C#]
public bool ShowLayerName {get; set;}
[C++]
HRESULT get_ShowLayerName(
  Boolean* ShowLayerName
);
[C++]
HRESULT put_ShowLayerName(
  VARIANT_BOOL ShowLayerName
);
[C++]
Parameters
ShowLayerName [out, retval]

ShowLayerName is a parameter of type bool* ShowLayerName [in]
ShowLayerName is a parameter of type bool

Product Availability

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

See Also

ILegendItem2 Interface