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


IKmlLayer.LabelsVisible Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IK > IKmlLayer Interface > IKmlLayer.LabelsVisible Property
ArcGIS Developer Help

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(
  Boolean* pLabelsVisible
);
[C++]
Parameters
pLabelsVisible [in]

pLabelsVisible is a parameter of type bool pLabelsVisible [out, retval]
pLabelsVisible is a parameter of type 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