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


ILayerVisible.SetAllVisible Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

ILayerVisible.SetAllVisible Method

Indicates if all the layers are visible or invisible.

[Visual Basic .NET]
Public Sub SetAllVisible ( _
    ByVal allVisible As Boolean _
)
[C#]
public void SetAllVisible (
    bool allVisible
);
[C++]
HRESULT SetAllVisible(
  VARIANT_BOOL allVisible
);
[C++]

Parameters allVisible [in]
allVisible is a parameter of type bool

Product Availability

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

Description

SetAllVisible indicates whether all layers of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be displayed when the symbol is rendered.

See Also

ILayerVisible Interface