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(
  VARIANT_BOOL* ShowLayerName
);
[C++]
HRESULT put_ShowLayerName(
  VARIANT_BOOL ShowLayerName
);
[C++]

Parameters

ShowLayerName [out, retval]   ShowLayerName is a parameter of type VARIANT_BOOL ShowLayerName [in]   ShowLayerName is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILegendItem2 Interface