ArcObjects Library Reference (Carto)  

ILayerDescription.ShowLabels Property

Indicates whether the layer should display its dynamic labels.

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

Parameters

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

Product Availability

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

Remarks

This only applies to layers where the property HasLabels on IMapLayerInfo2 is TRUE. This means that the layer's labels must be "on" in the original map document.

See Also

ILayerDescription Interface