This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeDisplayLayers2 Interface > IGlobeDisplayLayers2.SetFeatureVisibility Method (ArcObjects .NET 10.5 SDK) |
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