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


IKmlLayer.LabelsVisible Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IKmlLayer.LabelsVisible Property

Labels are Visible.

[Visual Basic .NET]
Public Property LabelsVisible As Boolean
[C#]
public bool LabelsVisible {get; set;}
[C++]
HRESULT get_LabelsVisible(
  VARIANT_BOOL* pLabelsVisible
);
[C++]
HRESULT put_LabelsVisible(
  VARIANT_BOOL pLabelsVisible
);
[C++]

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

Product Availability

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

Description

Placemark elements within a KML layer can display their Name property as a label in the 3D view.  KML labels are billboarded to face the camera and use conflict detection in order to avoid overposting with other labels in the same KML layer.

By default, labels are visible for KML layers. 

To disable labels for the KML layer set this property to False.

 

See Also

IKmlLayer Interface