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


ILegendItem2.ShowLayerName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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