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


ILegendItem2.ShowLabels Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILegendItem2.ShowLabels Property

Indicates if labels are visible.

[Visual Basic .NET]
Public Property ShowLabels As Boolean
[C#]
public bool ShowLabels {get; set;}
[C++]
HRESULT get_ShowLabels(
  VARIANT_BOOL* ShowLabels
);
[C++]
HRESULT put_ShowLabels(
  VARIANT_BOOL ShowLabels
);
[C++]

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

Product Availability

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

See Also

ILegendItem2 Interface