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


IMapServerSublayer2.HasLabels Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServerSublayer2.HasLabels Property

Indicates if the layer has labels to turn on and off.

[Visual Basic .NET]
Public ReadOnly Property HasLabels As Boolean
[C#]
public bool HasLabels {get;}
[C++]
HRESULT get_HasLabels(
  VARIANT_BOOL* HasLabels
);
[C++]

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

Product Availability

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

See Also

IMapServerSublayer2 Interface