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


IGlobeDisplayLayers2.SetFeatureVisibility Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeDisplayLayers2.SetFeatureVisibility Method

Sets the visibility of a specific feature.

[Visual Basic .NET]
Public Sub SetFeatureVisibility ( _
    ByVal pLayer As ILayer, _
    ByVal featureID As Integer, _
    ByVal bVisible As Boolean, _
    ByVal Transparency As Integer _
)
[C#]
public void SetFeatureVisibility (
    ILayer pLayer,
    int featureID,
    bool bVisible,
    int Transparency
);
[C++]
HRESULT SetFeatureVisibility(
  ILayer* pLayer,
  long featureID,
  VARIANT_BOOL bVisible,
  Long Transparency
);
[C++]

Parameters pLayer [in]
pLayer is a parameter of type ILayer featureID [in] featureID is a parameter of type long bVisible [in] bVisible is a parameter of type VARIANT_BOOL Transparency [in] Transparency is a parameter of type Long

Product Availability

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

See Also

IGlobeDisplayLayers2 Interface