ArcObjects Library Reference  (Carto)    

IMapServerSublayer.ShowLabels Property

Indicates whether the layer should display its dynamic labels.

[Visual Basic 6.0]
Property ShowLabels As Boolean
[Visual Basic .NET]
Public Property ShowLabels As Boolean
[C#]
public bool ShowLabels {get; set;}
[Java]
public boolean isShowLabels()
throws
    IOException,
    AutomationException
[Java]
public void setShowLabels(
boolean ShowLabels
)
throws
    IOException,
    AutomationException
[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 IMapServerSubLayer is TRUE. This means that the layer's labels must be "on" in the original map document.

See Also

IMapServerSublayer Interface

 


Feedback Send feedback on this page