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


IMapServerSublayer.ShowLabels Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerSublayer Interface > IMapServerSublayer.ShowLabels Property
ArcGIS Developer Help

IMapServerSublayer.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(
  Boolean* Show
);
[C++]
HRESULT put_ShowLabels(
  VARIANT_BOOL Show
);
[C++]
Parameters
Show [out, retval]

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

Product Availability

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

Remarks

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

See Also

IMapServerSublayer Interface