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


ILayer.Visible Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Visible Property
ArcGIS Developer Help

ILayer.Visible Property

Indicates if the layer is currently visible.

[Visual Basic .NET]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}
[C++]
HRESULT get_Visible(
  Boolean* Visible
);
[C++]
HRESULT put_Visible(
  VARIANT_BOOL Visible
);
[C++]
Parameters
Visible [out, retval]

Visible is a parameter of type bool* Visible [in]
Visible is a parameter of type bool

Product Availability

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

See Also

ILayer Interface

.NET Samples

Layer property page and property sheet Buffer snap agent Cut polygons without selection edit task Edit event listener Managing snap agents Custom reshape polyline edit task Custom vertex editing commands