ArcObjects Library Reference  (Carto)    

ILayer.Visible Property

Indicates if the layer is currently visible.

[Visual Basic 6.0]
Property Visible As Boolean
[Visual Basic .NET]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}
[Java]
public boolean isVisible()
throws
    IOException,
    AutomationException
[Java]
public void setVisible(
boolean Visible
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Visible(
  VARIANT_BOOL* Visible
);
[C++]
HRESULT put_Visible(
  VARIANT_BOOL Visible

);

[C++]

Parameters

Visible [out, retval]

  Visible is a parameter of type VARIANT_BOOL

Visible [in]

  Visible is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILayer Interface